-
-
Notifications
You must be signed in to change notification settings - Fork 556
Conversation
Velopack (https://velopack.io/) is the successor of Cloud.Squirrel (https://github.com/clowd/Clowd.Squirrel)
Several change in this pr
- Remove shortcut related function https://docs.velopack.io/integrating/shortcuts
- Implement a custom restart script which doesn't depend on the updater (which should not be the use case anyway). This allows restart be called at dev environment (breaking change).
- Create the portable data folder if the package is not inside
%LocalAppData%as velopack will pack the portable version for us, which doesn't allow us to modify (easily) to insert a custom folder. - The post_build script is modified to add information about channel. Prerelease repo will have
win-x64-prereleasechannel, while the main repo will havewin-x64-stablechannel. https://docs.velopack.io/packaging/channels - It also contains an experimental github action CI, which has a faster build time and larger concurrency allowance.
TODO:
- Toggling out of portable via settings doesnt seem to do anything except creating the UserData folder in roaming.
- Expecting to move portable UserData to roaming, plus start menu and uninstall program entries created.
- Can we please make the parent folder name FlowLauncher not flowlauncher, same goes for the UserData folder name in roaming.
- Can we please change the publisher in uninstall program to 'Flow Launcher Team' not 'FlowLauncher'.
Tested:
- The build file size should be similar size
- The protable file should create
UserDatafolder - Things should work
Futher Consideration:
- Toggling into portable mode does not remove the uninstall entry in 'Uninstall Program' in control panel, nor does it remove the entry from start menu. (This is moved to Future because there's no easy way to do it except implementing it ourselves).
- Cleanup post_build script. Build Portable is no longer needed as that will be handled by
vpk pack - Implement the logic of switching channel (maybe can delay to future). With that and once this pr is merged, we can officially test whether the upgrade process work. I will also create one pr stemmed from master to see how the upgrade from squirrel will behave.
Note: Maybe we want to squash so revert is easier?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I think that's the current behavior? We currently parse the github release ourselves. I don't think the current updater support pre-release...? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, current behaviour is not throwing an error when there are no new updates. Please test check for update when there are no more updates. |
@check-spelling-bot ReportPlease reviewSee the files view, the action log, or job summary for details.
See Event descriptions for more information. Pattern suggestions (1)You could add these patterns to # Automatically suggested patternsIf the flagged items are false positivesIf items relate to a ...
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (4)
README.md (4)
65-65: Clarify installation security warning.The warning about security issues during the first-time installation could be clearer. Specify what the user should verify to ensure the downloaded file is safe.
> When installing for the first time, Windows may raise an issue about security due to the code not being signed. If you downloaded from this repo, then you are good to continue the setup. Or download the [early access version](https://github.com/Flow-Launcher/Prereleases/releases).Tools
LanguageTool
[uncategorized] ~65-~65: When 'set-up' is used as a noun or modifier, it needs to be hyphenated.
Context: ...repo, then you are good to continue the set up. Or download the [early access version...(VERB_NOUN_CONFUSION)
125-125: Clarify drag-and-drop behavior modification keys.The description of how to modify the behavior of drag-and-drop operations using keyboard shortcuts could be more explicit about what each key does.
- Copy/move behavior can be changed via Ctrl or Shift, and the operation is displayed on the mouse cursor.
+ Copy/move behavior can be changed via Ctrl (copy) or Shift (move), and the operation is displayed on the mouse cursor.
207-207: Update user data folder path description for clarity.The description of the user data folder path for the portable version should explicitly mention that it changes based on the installed version of FlowLauncher.
- If using portable, by default: `%LocalAppData%\FlowLauncher\app-\UserData`
+ If using the portable version, by default: `%LocalAppData%\FlowLauncher\app-\UserData`
380-380: Add "please" for politeness.The expression should include "please" to make it more polite.
- If you are unsure of a change you want to make, let us know in the [Discussions](https://github.com/Flow-Launcher/Flow.Launcher /discussions/categories/ideas), otherwise, please consider submitting a pull request.
+ If you are unsure of a change you want to make, please let us know in the [Discussions](https://github.com/Flow-Launcher/Flow.Launcher /discussions/categories/ideas), otherwise, please consider submitting a pull request.Tools
LanguageTool
[style] ~380-~380: This expression usually appears with a "please" in front of it.
Context: ...re unsure of a change you want to make, let us know in the [Discussions](https://github.com...(INSERT_PLEASE)
Pull request was closed
|
@taooceros are we continuing this on a separate PR? |
|
Not sure why this is closed @taooceros, let's continue it. |