wails icon indicating copy to clipboard operation
wails copied to clipboard

MacOS not respecting wails.json

Open precisionpete opened this issue 1 year ago • 2 comments

Description

Similar to the issue with Wails not following the wails build output filename on macos, it is not following the wails.json settings either for macos.

To Reproduce

{ "$schema": "https://wails.io/schemas/config.v2.json", "name": "Myapp", "outputfilename": "myapp-ui", "frontend:install": "npm install", "frontend:build": "npm run build", "frontend:dev:watcher": "npm run dev", "frontend:dev:serverUrl": "auto", "wailsjsdir": "./frontend/src/lib", "author": { "name": "MyCo Inc.", "email": "[email protected]" }

run wails build on Linux and you get a file 'build/bin/netrinos-ui'

run wails build on macOS and you get build/bin/Myapp.app/Contents/MacOS/Myapp

Expected behaviour

should produce build/bin/Myapp.app/Contents/MacOS/myapp-ui

Screenshots

No response

Attempted Fixes

I will either rename things or maybe try a manual build.

System Details

MacOS Sonoma amd64

Additional context

It's not a big deal but I just wanted to document it.

precisionpete avatar Jan 14 '24 03:01 precisionpete

@leaanthony I think this should fix it

plutov avatar Jun 18 '24 14:06 plutov

@precisionpete - I've merged the above PR. If you're able to test master for the fix, that would be amazing. Thank you! 🙏

leaanthony avatar Jul 19 '24 22:07 leaanthony