delete custom-electron-titlebar

This commit is contained in:
cutls
2020-09-18 21:49:55 +09:00
parent aabcfb230f
commit dc08f46909
5 changed files with 5 additions and 51 deletions

View File

@@ -1,5 +1,5 @@
// Create the Application's main menu
function templete(lang, mainWindow, packaged, dir, dirname, frame) {
function templete(lang, mainWindow, packaged, dir, dirname) {
//フレーム
if(lang !="ja" && lang != "en"){
lang = "en"
@@ -9,11 +9,6 @@ function templete(lang, mainWindow, packaged, dir, dirname, frame) {
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
const join = require('path').join;
ipc.on("frameCheck", function(e, arg) {
if(!frame) {
e.sender.webContents.send("frame", "");
}
});
const dict = {
"application": {
"ja": "アプリケーション",