Ian M. Jones
2b35861aee
Fix doctor command not finding pkg-config on Solus ( #3670 )
...
* Fix doctor command not finding pkg-config on Solus
* Update changelog
2024-08-10 17:27:37 +10:00
Lea Anthony
9ce0ddb4f8
[chore] lint fixes
2023-11-12 12:30:49 +11:00
TuffenDuffen
a9fb0713a1
Update zypper.go ( #2941 )
...
* Update zypper.go
* Update changelog.mdx
2023-10-21 16:50:02 +11:00
Aranggi J. Toar
48b35aaafe
chore: update npm and docker package names for dnf package manager ( #2790 )
...
* chore: update package names for dnf package manager
* chore: update changelog
2023-07-24 19:53:24 +10:00
Lea Anthony
f2ab205415
[chore] Use webview2 package ( #2687 )
...
* [v2 windows] Use external webview2 package
* Update CHANGELOG
2023-06-10 17:04:31 +10:00
George Wang
eaca3d06f6
Update zypper.go ( #2593 )
...
Add package(webkit2gtk3-soup2-devel) for `libwebkit`.
Change environment variable before running command to query information
of the package.
2023-04-16 10:00:39 +10:00
Misite Bao
5e3c736bee
feat(cli): add Nodejs version in wails doctor
( #2546 )
...
* feat(cli): add Nodejs version in `wails doctor`
* Added check for output length
* docs: update changelog.mdx
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-04-12 07:11:37 +10:00
NullCode
04e92a813b
Update libwebkit package name for Fedora ( #2218 )
...
* Update libwebkit package name for Fedora
Fixes issue with `wails doctor` not detecting updated version of libwebkit on Fedora
* Keep existing libwebkit package
...for backwards compatibility
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-20 22:53:36 +11:00
Misite Bao
f70d9de366
fix: fix go test
errors ( #2169 )
...
* fix: fix go test errors
* Add flags to mac test
* Run on all branches
* Update PR workflow
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2022-12-06 06:45:06 +11:00
stffabi
efd209b7c5
[darwin] Show Xcode version in wails doctor ( #2089 )
2022-11-14 20:11:07 +11:00
Antonio Cheong
e3e20bdb42
Reference NSIS as optional dependency and provide more info ( #2070 )
...
* Update system.go
* Update installation.mdx
* Update base docs
2022-11-12 18:36:57 +11:00
Lea Anthony
b32069e4e4
Fix call in checkWebView2
2022-10-22 17:45:23 +11:00
stffabi
de36477ddc
[v2, darwin] Use kern.osversion for os id in doctor ( #1673 )
...
It seems like kern.osrevision is always 199506 since several years
and kern.osversion maps to the official documented build id.
Example: MacOS 12.5 with ID 21G72
2022-07-29 05:43:48 +10:00
Ian M. Jones
82cc5498f1
Add nixpkgs support to doctor command. ( #1551 )
...
* Dependancy => Dependency typo fix.
* Add Nixpkgs support to doctor command.
* Add mention of nixpkgs to linux distro support doc.
2022-07-13 07:29:41 +10:00
Ian M. Jones
095ef5ab64
Fix checking for installed apt package in none English session. ( #1548 )
2022-07-12 07:07:01 +10:00
Nan0
2065600096
Feature: set browser path ( #1448 )
...
* Added option to specify webview2 path
* Added `manual` webview strategy
* Update documentation
* Fixed build with manual tag
* Check for browser directory existence
* Added version check for manually specified webview, removed fallback for installed webview in manual strategy
* Update WebviewBrowserPath documentation
* Replaced deprecated StringToUTF16Ptr
* Return on error
* Removed manual strategy, return error in wv2installer for fixed runtime
* Removed manual strategy from CLI
2022-06-25 07:49:00 +10:00
Abtin
9a01c757bd
Fix apt command syntax ( #1458 ) ( #1461 )
2022-06-18 09:26:22 +10:00
Lea Anthony
a5bf76b30f
Fix up dev. Pull in go-webview and winc
2022-03-29 21:45:16 +11:00
Lea Anthony
48254b73e5
[Feature/1149] Dark mode ( #1281 )
...
* Add Windows version helper
* Initial theme support
* Support custom themes
* Update docs
* Honour HighContrast theme. Remove import "C". Refactor
* Small refactor
* Support inactive theme
* Update Docs
2022-03-27 22:57:45 +11:00
Lea Anthony
1996e8b2ba
Fix compile issue
2022-03-16 08:41:34 +11:00
Lea Anthony
d7395fc56a
Check system for user installed Linux dependencies ( #1180 )
...
* [linux] Fix discovery of other deps
* Update v2/internal/system/system_linux.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
* Try setting locale before running apt
* Use LC_ALL
* Remove continue
Co-authored-by: stffabi <stffabi@users.noreply.github.com>
2022-03-15 20:25:23 +11:00
stffabi
b02dbfaddf
[v2] NSIS installer support for Windows ( #1184 )
...
* [v2] Add support for post build hooks
Currently only supports build-level hooks
* [v2] Improve build assets handling and use single source for manifest generation
The manifest asset files are now a go template and data will be
resolved before they are included into the build output.
Breaking Change: Windows manifest file must be named
“wails.exe.manifest” and doesn’t depend on the project name
anymore.
* [v2, windows] NSIS installer generation
2022-03-02 19:44:31 +11:00
Lea Anthony
9593ea95f7
[linux] Fix discovery of npm, docker and upx ( #1174 )
2022-02-23 07:11:27 +11:00
Lea\Anthony
d5d4d88481
[v2] Fix webview2 runtime detection. Fixes #1038
2021-12-26 19:24:59 +11:00
Lea\Anthony
1c823b09c4
[v2] Fix compile issue
2021-12-25 08:54:23 +11:00
Eng Zer Jun
ef8d7d2fd7
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-25 12:15:43 +08:00
Eng Zer Jun
ae341be638
chore: run go fmt ./...
and go mod tidy
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-25 12:14:27 +08:00
Travis McLane
00639677f5
fix Apple Silicon check
2021-09-14 12:19:22 -05:00
Lea Anthony
e4d70f94b1
[windows] Temporarily remove docker as optional requirement
2021-09-07 20:36:51 +10:00
Lea Anthony
ac06e6728d
[windows] WebView2 check fix
2021-09-06 17:44:57 +10:00
Lea Anthony
1cd38d12f9
Add webview2 to wails doctor, refactored IsAppleSilicon
2021-09-03 05:55:51 +10:00
Lea Anthony
9d9c3d971a
[windows-x] Update wails doctor
2021-08-16 19:19:32 +10:00
Travis McLane
856b81ab04
add missing import
2021-07-09 15:08:59 -05:00
Lea Anthony
b69f1e6c43
[v2] Put mac specific calls behind build tag
2021-07-04 09:35:45 +10:00
Lea Anthony
642c1d5ec5
[v2] Target ARM on Apple Silicon, even if CLI is compiled for AMD64
2021-07-03 16:32:47 +10:00
Lea Anthony
a1d5412465
[v2] Remove redundant apps package
2021-06-03 21:32:19 +10:00
Lea Anthony
d2507660c2
[linux] Get CLI working. yum->dnf. doctor improvements.
2021-06-02 20:02:45 +10:00
Lea Anthony
410d23b4d9
[windows] wails doctor docker support Better output
2021-05-30 11:06:38 +10:00
Lea Anthony
003e505c4a
[mac] detect upx
2021-05-30 10:19:27 +10:00
Lea Anthony
22f09772d3
[mac] better wails doctor
2021-05-30 10:18:36 +10:00
Lea Anthony
a300172adc
[windows] Better wails doctor installation details
2021-05-30 09:41:47 +10:00
Lea Anthony
1eba408f64
[windows] Better wails doctor diagnostics
2021-05-30 09:34:07 +10:00
Lea Anthony
be39b293b5
[mac] better wails doctor
2021-05-26 21:18:52 +10:00
Lea Anthony
92ebf506dd
Get app compiling
2021-03-20 18:32:09 +11:00
Lea Anthony
9ab06152c5
Refactor doctor for windows
2021-03-20 16:27:35 +11:00
Lea Anthony
bf36b6a59d
Doctor working for Windows
2021-03-20 16:24:02 +11:00
Lea Anthony
02ef02ec9e
Support wails doctor
for Mac
2020-12-30 00:18:59 +11:00
Lea Anthony
62374b9b53
Js package generation ( #554 )
...
* WIP
* Generation of index.js
* Add RelativeToCwd
* Add JSDoc comments
* Convert to ES6 syntax
* Fix typo
* Initial generation of typescript declarations
* Typescript improvements
* Improved @returns jsdoc
* Improved declaration files
* Simplified output
* Rename file
* Tidy up
* Revert "Simplified output"
This reverts commit 15cdf7382b
.
* Now parsing actual code
* Support Array types
* Reimagined parser
* Wrap parsing in Parser
* Rewritten module generator (TS Only)
* Final touches
* Slight refactor to improve output
* Struct comments. External struct literal binding
* Reworked project parser *working*
* remove debug info
* Refactor of parser
* remove the spew
* Better Ts support
* Better project generation logic
* Support local functions in bind()
* JS Object generation. Linting.
* Support json tags in module generation
* Updated mod files
* Support vscode file generation
* Better global.d.ts
* add ts-check to templates
* Support TS declaration files
* improved 'generate' command for module
2020-11-15 09:25:38 +11:00
Lea Anthony
852bbd148c
Get it compiling
2020-09-15 19:55:50 -05:00
Travis McLane
c158fd369a
Merge commit 'a213e8bcd1d8e4e5c764978879d875d2d55dd400' as 'v2'
2020-09-15 19:52:54 -05:00