Skip to content

Commit

Permalink
Update installer package
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Apr 5, 2022
1 parent 9718327 commit 70a89d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Component.prototype.createOperations = function()

Component.prototype.installationFinished = function()
{
var tag = "v1.3.1";
var tag_dir = "https://github.com/MaximIntegratedTechSupport/VSCode-Maxim/tree/" + tag;
var release_dir = "https://github.com/MaximIntegratedTechSupport/VSCode-Maxim/releases/tag/" + tag;
var tag = "v1.4.0";
var tag_url = "https://github.com/MaximIntegratedTechSupport/VSCode-Maxim/tree/" + tag;
var release_url = "https://github.com/MaximIntegratedTechSupport/VSCode-Maxim/releases/tag/" + tag;

// Open readme file to complete installation.
// isInstaller() = true on fresh install
Expand All @@ -33,7 +33,7 @@ Component.prototype.installationFinished = function()

if (result == QMessageBox.Ok) {
try {
QDesktopServices.openUrl(tag_dir + "/readme.md#vscode-maxim");
QDesktopServices.openUrl(tag_url + "/readme.md#vscode-maxim");
} catch(e) {
console.log(e);
QMessageBox.warning("vscode-maxim.readmefail", "MaximSDK Installer", "Failed to open the online copy of the readme.\n\nPlease open this file manually (@TargetDir@/Tools/VSCode-Maxim/readme.md)", QMessageBox.Ok);
Expand All @@ -48,7 +48,7 @@ Component.prototype.installationFinished = function()

if (result == QMessageBox.Ok) {
try {
QDesktopServices.openUrl(release_dir);
QDesktopServices.openUrl(release_url);
} catch(e) {
console.log(e);
QMessageBox.warning("vscode-maxim.releasefail", "MaximSDK Installer", "Failed to open the online release notes.",QMessageBox.Ok);
Expand Down
2 changes: 1 addition & 1 deletion installer/package/Updates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<SortingPriority>1</SortingPriority>
<UpdateFile CompressedSize="20134" OS="Any" UncompressedSize="95518"/>
<DownloadableArchives>Tools.7z</DownloadableArchives>
<SHA1>447a0864c9049195a39ee2dabbf3a17052e41832</SHA1>
<SHA1>64fe609aeef35790b1a8b84cbdf986ad8137f577</SHA1>
</PackageUpdate>
</Updates>
Binary file not shown.

0 comments on commit 70a89d0

Please sign in to comment.