mirror of
https://github.com/agam778/MS-365-Electron.git
synced 2026-02-24 09:12:10 +00:00
Added Source Code
This commit is contained in:
7
updatescript.js
Normal file
7
updatescript.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const gitHubPath = 'agam778/Microsoft-Office-Electron';
|
||||
const url = 'https://api.github.com/repos/' + gitHubPath + '/tags';
|
||||
|
||||
$.get(url).done(data => {
|
||||
const versions = data.sort((v1, v2) => semver.compare(v2.name, v1.name));
|
||||
$('#result').html(versions[0].name);
|
||||
});
|
||||
Reference in New Issue
Block a user