Skip to content

Commit

Permalink
minor stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Neradoc committed Sep 2, 2022
1 parent c8ff7a3 commit a293556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions assets/lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ class LibraryBundle {
var zip_name = `${base_name}-${this.cp_version_url}-mpy-${bundle_tag}.zip`;
return `${this.base_github}/${repo}/releases/download/${bundle_tag}/${zip_name}`;
case AccessMode.LINK:
var bundle_tag = "latest";
var zip_url = `${this.BUNDLE_URL}/${repo_name}-${this.cp_version_url}-mpy-${bundle_tag}.zip`;
var zip_url = `${this.BUNDLE_URL}/${repo_name}-${this.cp_version_url}-mpy-latest.zip`;
return zip_url;
}
// todo: raise
Expand Down
4 changes: 2 additions & 2 deletions main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ function openBoard (url) {
// Some APIs can only be used after this event occurs.
app.whenReady().then(() => {
var winBounds = store.get("mainWindowBounds", {
x:null,
y:null,
x: null,
y: null,
width: 0,
height: 0,
})
Expand Down

0 comments on commit a293556

Please sign in to comment.