Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cocktailpeanut committed Jul 17, 2024
1 parent 25b32ba commit 3310d36
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 36 deletions.
4 changes: 3 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ const windowStateKeeper = require('electron-window-state');
const fs = require('fs')
const path = require("path")
const Pinokiod = require("pinokiod")
const os = require('os')
const is_mac = process.platform.startsWith("darwin")
const packagejson = require("./package.json")
const platform = os.platform()
var mainWindow;
var root_url;
var wins = {}
Expand All @@ -14,7 +16,7 @@ var launched
var theme
var colors
//let PORT = 42000
let PORT = 80
let PORT = (platform === 'linux' ? 42000 : 80)

const filter = function (item) {
return item.browserName === 'Chrome';
Expand Down
204 changes: 171 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3310d36

Please sign in to comment.