Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change app name on windows #147

Merged
merged 2 commits into from
Nov 23, 2022
Merged

Change app name on windows #147

merged 2 commits into from
Nov 23, 2022

Conversation

sideninja
Copy link
Collaborator

Change application name on Windows to match the one used by Flowser installer.

@sideninja sideninja self-assigned this Nov 23, 2022
@@ -127,7 +127,7 @@ func (a *App) appDir(installDir string) (string, error) {
func (a *App) executable(installDir string) (string, error) {
files := map[string]string{
darwin: "Contents/MacOS/Flowser",
windows: "Flowser.exe",
windows: "@flowserapp",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually need to update the "app path" and not the "executable path" here:

https://github.com/onflowser/flowser/blob/main/pkg/flowser/app.go#L123

See this example:

image

"@flowserapp" is the app dir here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh that's the dir... ok will fix

@sideninja sideninja merged commit 3d126b9 into main Nov 23, 2022
@sideninja sideninja deleted the go-install-path branch November 23, 2022 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants