Snider
38fd09bd9a
Adding workspace to npm which better integrates wails and frontend npm.
...
Running `npm install` will now run on the top level of a generated project and additionally the "frontend" workspace (we can add plugins for wails like this, auto update, package, sign, etc, etc)
Other commands that use workspaces (including pre/post hooks mostly) and might be helpful to Wails are `docs`, `install`, `rebuild`, `publish`, `pkg`, `pack`, `ci`
For example, during wails build, you could ask for data from the frontend/package.json to get version, title, etc with.
`npm pkg get name version --workspace=frontend`
Signed-off-by: Snider <snider@lt.hn>
2021-11-24 10:34:29 +00:00
Lea Anthony
cd8bad58cd
[v] v2.0.0-beta.21
2021-11-24 06:42:34 +11:00
stffabi
5e2f25af9b
[v2] Add windowsgui ldflag when crosscompiling for windows
2021-11-23 14:16:50 +01:00
Lea Anthony
f5f89c31eb
Merge pull request #955 from letheanVPN/generated-project-helper
...
Helper NPM scripts for developers working on a Wails GUI project
2021-11-23 03:50:29 -08:00
Snider
46cb34f2ec
Adds a package.json with basic start / setup npm scripts to assist non golang developers working on an end project.
2021-11-23 11:22:25 +00:00
stffabi
21ce7709ab
[macOS] Fix background color
2021-11-23 11:18:00 +01:00
Lea Anthony
d569e37b81
[mac] Fix open panel in dev
2021-11-23 21:04:01 +11:00
Lea Anthony
c9c6edeb84
[mac] Fix fullscreen / start fullscreen
2021-11-23 20:06:56 +11:00
Lea Anthony
9525667ebd
[windows] Add Frameless resize
2021-11-22 06:47:09 +11:00
Lea Anthony
8bfec24108
Support slices + out params in Models.ts generation. Update website with runtime info
2021-11-18 17:54:09 +11:00
Lea Anthony
9ad2665ad8
[mac] Conditionally import UTType header
2021-11-17 21:13:25 +11:00
Lea Anthony
28894868e3
[mac] Fix for file filters MacOS 11+. Some memory leak fixes.
2021-11-17 21:03:40 +11:00
Lea Anthony
a8fcd994c9
Merge branch '930_-_default_window_state'
2021-11-16 18:23:43 +11:00
Lea Anthony
c678ab7d01
[mac] Potential file dialog fix. Fix for starthidden. Partial WindowStartState
2021-11-16 18:20:41 +11:00
Lea Anthony
3a93c08813
[linux] basic windowing
2021-11-14 22:40:37 +11:00
Lea Anthony
ab1469638f
[linux] get compiling working
2021-11-13 17:06:48 -08:00
Lea Anthony
9073caf287
Add build flag
2021-11-13 16:31:57 -08:00
Lea Anthony
1bed8234c9
[v2] Fix OnShutdown for production build
2021-11-11 06:05:50 +11:00
Lea Anthony
621c70253d
[v2] Remove build constraint for DesktopIPC
2021-11-10 18:12:46 +11:00
Lea Anthony
56ef4ddd47
[v2] Add WindowStartState. Fix startHidden option. Only windows supported atm
2021-11-10 18:11:54 +11:00
Lea Anthony
bad9ad3dd7
[v2] Refactor app options
2021-11-10 08:42:04 +11:00
Lea Anthony
36570645ff
[v2] v2.0.0-beta.20
2021-11-09 20:37:44 +11:00
Lea Anthony
3711bdc41e
[v2] Add default wailsjsdir when generating module
2021-11-09 20:31:51 +11:00
Lea Anthony
cbdcd9f63e
[v2] Add default wailsjsdir to templates
2021-11-09 20:31:31 +11:00
Lea Anthony
a9268bc56e
[v2] Re-enable cli flags for assetdir if needed. Fixes debugging from IDE.
2021-11-09 20:11:34 +11:00
Lea Anthony
663925f9e8
[v2] v2.0.0-beta.19
2021-11-08 21:03:42 +11:00
Lea Anthony
cc2651c377
[v2] Tidy up
2021-11-08 21:02:54 +11:00
Lea Anthony
e651b9c7ff
[v2] Fix dev build when no dev command in project
2021-11-08 21:01:42 +11:00
Lea Anthony
bcad236fb6
[v2] Revert svelte template changes
2021-11-08 20:53:13 +11:00
Lea Anthony
0af8d506c1
[v2] v2.0.0-beta.18
2021-11-08 20:28:04 +11:00
Lea Anthony
0b65a0f508
[v2] Fix svelte template
2021-11-08 20:27:28 +11:00
Lea Anthony
b03a758747
[v2] v2.0.0-beta.17
2021-11-08 20:13:29 +11:00
Lea Anthony
44597f2fbc
[v2] Fix svelte template
2021-11-08 20:12:29 +11:00
Lea Anthony
0844113f3a
[v2] Fix vanilla template
2021-11-08 20:08:41 +11:00
Lea Anthony
79e99b68d6
[v2] Fix css in templates
2021-11-08 19:23:28 +11:00
Lea Anthony
c64b7bb79c
[v2] v2.0.0-beta.16
2021-11-08 19:15:07 +11:00
Lea Anthony
0eb7a8a771
[v2] Update svelte template
2021-11-08 07:00:01 +11:00
Lea Anthony
cc5fd30256
[v2] Update vanilla template
2021-11-08 06:31:13 +11:00
Lea Anthony
c90bfc310a
[mac] Fix lifecycle hooks
2021-11-06 10:40:02 +11:00
Lea Anthony
62d1d621aa
[mac] Tidy up
2021-11-04 20:58:08 +11:00
Lea Anthony
6e8cbb8e8f
[mac] Ensure minimum osx version
2021-11-04 20:45:22 +11:00
Lea Anthony
04f93ac54e
[v2] Update go.mod
2021-11-03 19:24:12 +11:00
Lea Anthony
3c87d13b21
[mac] Fix fullscreen
2021-11-03 19:23:23 +11:00
Lea Anthony
0949eab72e
[linux] add flag
2021-11-03 19:22:59 +11:00
Lea Anthony
aab67b416f
[mac] add default menu
2021-11-03 19:22:38 +11:00
Lea Anthony
83a575e43f
[v2] warn if wails version out of sync during build
2021-11-02 22:33:34 +11:00
Lea Anthony
333949ee53
[mac] better output text on build
2021-11-02 22:20:44 +11:00
Lea Anthony
bd7b436631
[mac] Add fallback for app name
2021-11-02 22:05:42 +11:00
Lea Anthony
c136df48b9
[mac] Fix App Name in app menu
2021-11-02 22:04:06 +11:00
Lea Anthony
a090a689cf
[mac] Fix plist generation
2021-11-02 21:56:35 +11:00