Comments (11)
What is the release of the fyne command line? (fyne --version
)
from fyne.
I thought I could replicate this but I cannot. The fyne release
command hard-codes release bool
to true
so I'm at a loss as to what is happening here...
from fyne.
The output of fyne --version is "fyne version v2.4.4"
I tried to run the above code with
- go run .
- fyne build (the built binary)
- fyne release (the built binary)
For each the string printed to terminal was test
The release should print out prod, correct?
from fyne.
Maybe this is for some reason a platform specific bug, are you trying to check this only on MacOS? Or also tried it on Windows and Linux? I do not have a windows install with the dev enviornment setup right now, I could check it another day on Windows if it could help track down the core of this issue
from fyne.
I tried to run the above code with
go run . fyne build (the built binary) fyne release (the built binary)
The last "the built binary" is concerning me - did you clear out the previous one before testing release? What was the path to the release binary that you tested?
from fyne.
I deleted the binary that built with fyne build first. Then I ran fyne release which created an archive which I extracted and ran that extracted binary
from fyne.
Can you please compile the tool locally with a log of "b.release" on line 199 of cmd/fyne/internal/commands/build.go (inside build() function). That way we can see if false is being passed in somehow. If so then a "debug.PrintStack" would help a lot.
from fyne.
Just so I understand you correctly, you would like for me to compile fyne v2.4.4 locally with the changes you requested above?
from fyne.
Locally compiled source code (go install .) for fyne v2.4.4 with the addition of "log.Println(b.release)".
Compiling the above code snippet with fyne release and running the built binary, metadata is false but the log during compiling is true.
Tried to do the same with "fyne package - os linux --release". Log during compile was true but after running the executed binary the metadata was true this time.
Doing the same with "fyne package - os linux" goes to false on both compile log and print of executed binary.
from fyne.
Thanks this has been very helpful, PR inbound
from fyne.
Resolved for v2.4.5 and 2.5 on develop
from fyne.
Related Issues (20)
- Redundant justify-content properties in CSS for centered-container class HOT 1
- UTF-8 Characters are not displayed correctly on the ubuntu's "all windows" section HOT 1
- when i exec fyne package -os js ,i reminds me :unsupported target operating system "js",why is that.thanks ![image](https://github.com/user-attachments/assets/682a7659-37c1-41ef-b058-6ccb440a6ad7) HOT 1
- Showing an overlay widget using the canvas.Overlays().Add() API blocks interaction with rest of window HOT 1
- Single click in file dialog enters two directories HOT 8
- Abnormal Form Widget Entry Validation Behavior on Paste in Fyne 2.5.0
- Large Text Entry HOT 6
- The paste does not trigger the Validator. HOT 1
- Capability to intercept Quit from Menu/Dock for Mac HOT 11
- Hang when using Entry fields HOT 5
- Some problems encountered when using the NewRichTextWithText (markdown syntax incompatible) method. HOT 5
- Scroll acceleration logic causes scrolling to "jump" suddenly on MacOS HOT 1
- fyne package is trying to bundle 32bit resource file HOT 11
- The content of the entries in the list may wrap to a new line or get lost when scrolling. HOT 1
- High CPU and sluggishness running a simple wasm app HOT 8
- Make `fyne serve` accept `--metadata` flags HOT 2
- button-disable-OnTapped? HOT 1
- fyne_demo logs Fyne error: Failed to load image when click Widgets/Text
- Demo Compilation error : /usr/bin/ld: cannot find -lXxf86vm: No such file or directory HOT 2
- FileOpen and FoldOpen:The window will always go into a subfolder automatically HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fyne.