Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
nodejs-60-2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
narakorn vichianchai
nodejs-60-2
Commits
95acd5ec
Commit
95acd5ec
authored
Feb 27, 2018
by
narakorn vichianchai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
four
parent
028ab583
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
72 deletions
+0
-72
index.js
project/index.js
+0
-54
package-lock.json
project/package-lock.json
+0
-0
package.json
project/package.json
+0
-18
No files found.
project/index.js
deleted
100644 → 0
View file @
028ab583
const
{
app
,
BrowserWindow
}
=
require
(
'electron'
);
const
path
=
require
(
'path'
);
const
url
=
require
(
'url'
);
const
{
app2
,
Menu
}
=
require
(
'electron'
);
let
win
;
function
createWindow
()
{
win
=
new
BrowserWindow
({
width
:
800
,
height
:
600
,
icon
:
__dirname
+
'/assets/icon.ico'
// frame:false
});
win
.
loadURL
(
url
.
format
({
pathname
:
path
.
join
(
__dirname
,
'tpfour.html'
),
protocol
:
'file:'
,
slashes
:
true
}));
// win.webContents.openDevTools();
win
.
setMenu
(
null
);
win
.
on
(
'closed'
,
()
=>
{
win
=
null
;
});
}
app
.
on
(
'ready'
,
createWindow
);
app
.
on
(
'window-all-closed'
,
()
=>
{
if
(
process
.
platform
!==
'darwin'
)
{
app
.
quit
();
}
});
app
.
on
(
'activate'
,
()
=>
{
if
(
win
===
null
)
{
createWindow
();
}
});
\ No newline at end of file
project/package-lock.json
deleted
100644 → 0
View file @
028ab583
This diff is collapsed.
Click to expand it.
project/package.json
deleted
100644 → 0
View file @
028ab583
{
"name"
:
"project"
,
"version"
:
"1.0.0"
,
"description"
:
"nodejs"
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
"author"
:
"four"
,
"license"
:
"ISC"
,
"dependencies"
:
{
"electron-prebuilt"
:
"^1.4.13"
},
"devDependencies"
:
{
"electron"
:
"^1.8.2"
,
"electron-packager"
:
"^8.1.0"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment