Comments (9)
If you do mean that, I think it's out of the capability of Warp, since you need a windows-x64.warp-packer.exe won't run on Unix.
True, you can't run the exe on Unix, but you can run the platform specific packer and just pass in --arch windows-x64
to create a packed windows executable. I have been using that way myself to create windows binary on linux using warp.
from warp.
If you do mean that, I think it's out of the capability of Warp, since you need a windows-x64.warp-packer.exe won't run on Unix.
True, you can't run the exe on Unix, but you can run the platform specific packer and just pass in
--arch windows-x64
to create a packed windows executable. I have been using that way myself to create windows binary on linux using warp.
Oh, I think that's what @Ruffo324 really mean, I totally missed the point.
Like on Linux using something like --arch windows-x64 --icon iconfile.ico
to create a packed Windows executable with icon.
from warp.
It would be great if this is supported by nature.
But, in the mean time, you can use Resource Hacker to achieve this.
http://www.angusj.com/resourcehacker/
If you prefer to automate the ICON adding process, you can also use the command line:
rh.exe -open old.exe -save new.exe -action addskip -res my.ico -mask ICONGROUP,MAINICON,
from warp.
It would be great if this is supported by nature.
But, in the mean time, you can use Resource Hacker to achieve this.
http://www.angusj.com/resourcehacker/
If you prefer to automate the ICON adding process, you can also use the command line:
rh.exe -open old.exe -save new.exe -action addskip -res my.ico -mask ICONGROUP,MAINICON,
Yea, but's thats not an option if u working on a mac or linux system. Or (in my case) builded and packed from a unix based CI.
from warp.
In my personal experience, macOS and Linux executables DO NOT have an ICON by nature.
-
On macOS, you will have icons when you get a "app", which is called "Package Bundles", it ends with
.app
extension, which basically a directory that contains the whole files of your application, such as executables / pictures / icons and othere resources you may need.You can define your icon file for macOS app like this in
Info.plist
file:<key>CFBundleIconFile</key> <string>iconfile</string>
and put the
iconfile.icns
intoyou-application.app/Contents/Resources/
directory, then you'll get it. -
On Linux, application icon is usually provide through a
.desktop
file, which you can read about it here.If you prefer to ship your application as one single file like Windows, you may be interested in AppImage which may do you a good job.
That's what in my mind, maybe it's wrong, I don't know. If you find something else, I'm glad to learn. Have fun, btw.
from warp.
It would be great if this is supported by nature.
But, in the mean time, you can use Resource Hacker to achieve this.
http://www.angusj.com/resourcehacker/
If you prefer to automate the ICON adding process, you can also use the command line:rh.exe -open old.exe -save new.exe -action addskip -res my.ico -mask ICONGROUP,MAINICON,Yea, but's thats not an option if u working on a mac or linux system. Or (in my case) builded and packed from a unix based CI.
Or, do you mean you wanna compile Windows binary through a Unix based CI?
If you do mean that, I think it's out of the capability of Warp, since you need a windows-x64.warp-packer.exe
won't run on Unix.
from warp.
There is a go package for this: rsrc. I guess it is a good resource for learning how to implement this feature in warp.
from warp.
It would be nice if it just picked up the original app's icon by default...
from warp.
Ping. Just to bring up this feature on warp4j.
All construction is made on linux, difficult to change the icon manually. Would be great to have syntax for specifying an .ico file. Thanks.
from warp.
Related Issues (20)
- 32 Bit support ? HOT 2
- Updating HOT 1
- can't find crate for `std`
- ARM Support
- Support linux-musl-x64 HOT 2
- Java only includes linux architecture in readme? HOT 1
- Export warp-packer as a library
- FYI Warp being considered for Deno executables HOT 1
- Provide a parameter to control expansion location for packed exe
- "Error: No tarball found inside binary" HOT 2
- Ability to choose compression level and algorithm
- Feature Request: Splash Screen or Small Bootstrap exe?
- Making a self-contained jq binary
- [Windows] Parenthesis in packaged filename causes "not recognized as ... command" error
- when start Java warped on windows, there is a cmd window, how to hide it? HOT 1
- Has this tool been released on Cargo?
- fails if ./jre/ directory is a junction on windows
- Warp executable does not launch on NixOS
- New release after latest patches
- The specified executable is not a valid application for this OS
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 warp.