-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(windows): add install script for start menu
- Loading branch information
1 parent
18cf92c
commit ef92778
Showing
4 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
deploy/windows/packages/com.nguyenvukhang.canvassync/meta/installscript.qs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Component.prototype.createOperations = function() | ||
{ | ||
component.createOperations(); | ||
if (systemInfo.productType === "windows") { | ||
component.addOperation("CreateShortcut", "@TargetDir@/Canvas Sync.exe", "@StartMenuDir@/Canvas Sync.lnk", | ||
"workingDirectory=@TargetDir@", "description=Open Canvas Sync"); | ||
} | ||
} |
13 changes: 7 additions & 6 deletions
13
deploy/windows/packages/com.nguyenvukhang.canvassync/meta/package.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Package> | ||
<DisplayName>Canvas Sync</DisplayName> | ||
<Description>Syncs local folders with folders on canvas.</Description> | ||
<Version>0.1.1</Version> | ||
<ReleaseDate>2023-02-01</ReleaseDate> | ||
<Default>true</Default> | ||
<DisplayName>Canvas Sync</DisplayName> | ||
<Description>Syncs local folders with folders on canvas.</Description> | ||
<Version>0.1.3</Version> | ||
<ReleaseDate>2023-02-01</ReleaseDate> | ||
<Default>true</Default> | ||
<Script>installscript.qs</Script> | ||
</Package> |