Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hpc-team
strudelv2_spa
Commits
b3245c91
Commit
b3245c91
authored
Apr 13, 2021
by
Chris Hines
Browse files
fixing up the main process for the electron app
parent
1eab2c09
Pipeline
#18710
passed with stages
in 8 minutes and 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
main.ts
View file @
b3245c91
...
...
@@ -19,6 +19,8 @@ try {
console
.
log
(
`please create a config file at
${
configPath
}
`
)
}
let
testconfig
=
YAML
.
parse
(
fs
.
readFileSync
(
path
.
join
(
__dirname
,
'
resources
'
,
'
testConfig.yml
'
)).
toString
());
console
.
log
(
testconfig
);
//let config = YAML.parse(fs.readFileSync(path.join(__dirname,'localConfig.yml')).toString())
//var aafds: string = "https://ds.aaf.edu.au/discovery/aaf/9DrjGhkyXjXsPm45rqpCXA?entityID=https%3A%2F%2Fcentral.aaf.edu.au%2Fshibboleth&return=https%3A%2F%2Fcentral.aaf.edu.au%2FShibboleth.sso%2FLogin%3FSAMLDS%3D1%26identity%3D1%26target%3Dhttps%253A%252F%252Fcentral.aaf.edu.au%252Fresolvers%252Fsaml_federation%252Freceive%253Fibr%253D19a58192-de47-4580-a272-cc61c60e4f47%2526pib%253D0a206a4e-e6eb-4d18-b46d-e475ec8d09b5"
function
createWindow
():
BrowserWindow
{
...
...
package.json
View file @
b3245c91
...
...
@@ -118,19 +118,12 @@
"chrome 83"
],
"build"
:
{
"extraResources"
:
[
{
"from"
:
"./resources/"
,
"to"
:
""
,
"filter"
:
[
"**/*"
]
}
],
"files"
:
[
"main.js"
,
"./dist/**/*"
,
"./public/electron.js"
"./public/electron.js"
,
"./resources/testConfig.yml"
]
}
}
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