Skip to content

Commit

Permalink
Test Action(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwldom committed Aug 6, 2024
1 parent f40245b commit 541a83f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 0 additions & 7 deletions browser.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
body {
background-color: #1A1A22 !important;
<<<<<<< Updated upstream
}
=======
overflow: hidden;
}

>>>>>>> Stashed changes
.tab.active {
background-color: #2a2a4d !important;
}
Expand Down Expand Up @@ -151,8 +147,6 @@ body {
transform: scale(1);
}
}
<<<<<<< Updated upstream
=======

#menu {
width: 95vw;
Expand Down Expand Up @@ -232,4 +226,3 @@ body {
width: 50vw;
padding-top: 50px;
}
>>>>>>> Stashed changes
9 changes: 8 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { exec } = require("child_process");
const { eventNames } = require('process');
const ipc = require('electron').ipcMain;
const { initialize } = require('@aptabase/electron/main');
const { setInterval } = require('timers/promises');

initialize("A-EU-5072151346");
var currentURL = "";
Expand All @@ -33,7 +34,13 @@ function createWindow() {
}
catch { };
});
}
};
setInterval(() => {
try {
ViewBrowser.setBounds({ x: 0, y: mainWindow.getBounds().height / 6, width: mainWindow.getBounds().width, height: mainWindow.getBounds().height / 1.3 });
}
catch { };
},5000)
function CreateViewBrowser(url) {
ViewBrowser = new BrowserView();
mainWindow.setBrowserView(ViewBrowser);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"output": "dist"
},
"win": {
"publish":"always",
"icon": "ico.png",
"target": "nsis",
"requestedExecutionLevel": "requireAdministrator",
Expand All @@ -70,7 +71,7 @@
"icon": "ico.png",
"target": "deb",
"category": "VPN",
"publish": false
"publish": "always"
},
"publish": {
"provider": "github",
Expand Down

0 comments on commit 541a83f

Please sign in to comment.