Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcgivery committed Feb 23, 2024
2 parents ced66fd + d10765c commit 960a7b5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
16 changes: 9 additions & 7 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,18 @@ export default class BeautitabPlugin extends Plugin {
)
);

// @ts-ignore
if (process.env.EMULATE_MOBILE && !this.app.isMobile) {
if (process.env.NODE_ENV === "development") {
// @ts-ignore
this.app.emulateMobile(true);
}
if (process.env.EMULATE_MOBILE && !this.app.isMobile) {
// @ts-ignore
this.app.emulateMobile(true);
}

// @ts-ignore
if (!process.env.EMULATE_MOBILE && this.app.isMobile) {
// @ts-ignore
this.app.emulateMobile(false);
if (!process.env.EMULATE_MOBILE && this.app.isMobile) {
// @ts-ignore
this.app.emulateMobile(false);
}
}
}

Expand Down
11 changes: 11 additions & 0 deletions manifest-beta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "beautitab",
"name": "Beautitab",
"version": "1.4.0-beta.1",
"minAppVersion": "0.15.0",
"description": "Creates a customizable new tab view with beautiful backgrounds, quotes, search, and more.",
"author": "Andrew McGivery",
"authorUrl": "https://github.com/andrewmcgivery",
"fundingUrl": "https://www.buymeacoffee.com/andrewmcgivery",
"isDesktopOnly": false
}
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"1.2.1": "0.15.0",
"1.3.0": "0.15.0",
"1.4.0": "0.15.0",
"1.4.0-beta.1": "0.15.0",
"1.4.1": "0.15.0"
}
}

0 comments on commit 960a7b5

Please sign in to comment.