Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KolloquiumVRWebsite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nick Anton Christoph Kleine-Tebbe
KolloquiumVRWebsite
Commits
11bcb736
Commit
11bcb736
authored
3 years ago
by
Nick Anton Christoph Kleine-Tebbe
Browse files
Options
Downloads
Patches
Plain Diff
changed file paths
parent
a60e5d0e
Branches
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/routes/kolloquiums.js
+8
-5
8 additions, 5 deletions
api/routes/kolloquiums.js
with
8 additions
and
5 deletions
api/routes/kolloquiums.js
+
8
−
5
View file @
11bcb736
...
@@ -8,8 +8,9 @@ const {resolve} = require("path");
...
@@ -8,8 +8,9 @@ const {resolve} = require("path");
const
replace
=
require
(
'
replace-in-file
'
);
const
replace
=
require
(
'
replace-in-file
'
);
const
kolloquiumDirectory
=
'
../Kolloquiums
'
const
kolloquiumDirectory
=
'
../Kolloquiums
'
const
engineDirectory
=
'
C:/Users/Nick/Documents/UnrealEngine
'
const
engineDirectory
=
'
D:/UnrealEngine
'
const
packagedGame
=
'
C:/Users/Nick/Documents/UnrealPackagedGames/KolloquiumVR
'
const
packagedGame
=
'
D:/KolloquiumVR/PackagedGame
'
const
nDisplayLauncher
=
engineDirectory
+
'
/Projects/KolloquiumVR/Scripts/launch.bat
'
const
engineINI
=
engineDirectory
+
'
/Projects/KolloquiumVR/Config/DefaultEngine.ini
'
const
engineINI
=
engineDirectory
+
'
/Projects/KolloquiumVR/Config/DefaultEngine.ini
'
const
editorINI
=
engineDirectory
+
'
/Projects/KolloquiumVR/Saved/Config/Windows/Editor.ini
'
const
editorINI
=
engineDirectory
+
'
/Projects/KolloquiumVR/Saved/Config/Windows/Editor.ini
'
...
@@ -403,6 +404,8 @@ router.use('/submitAbgabe', (req, res) => {
...
@@ -403,6 +404,8 @@ router.use('/submitAbgabe', (req, res) => {
return
console
.
error
(
'
Error occurred:
'
,
error
);
return
console
.
error
(
'
Error occurred:
'
,
error
);
}
}
console
.
log
(
'
Replaced mod folder and file path in .ini files
'
)
// Remove old content in Mod folder
// Remove old content in Mod folder
fs
.
rmSync
(
path
.
join
(
newAbgabeDirectory
,
'
Content
'
),
{
recursive
:
true
,
force
:
true
});
fs
.
rmSync
(
path
.
join
(
newAbgabeDirectory
,
'
Content
'
),
{
recursive
:
true
,
force
:
true
});
fs
.
mkdir
(
path
.
join
(
newAbgabeDirectory
,
'
Content
'
),
function
(
err
)
{
fs
.
mkdir
(
path
.
join
(
newAbgabeDirectory
,
'
Content
'
),
function
(
err
)
{
...
@@ -516,7 +519,7 @@ router.use('/activateKolloquium', (req, res) => {
...
@@ -516,7 +519,7 @@ router.use('/activateKolloquium', (req, res) => {
})
})
})
})
exec
(
kolloquiumVRexe
,
exec
(
nDisplayLauncher
,
function
(
error
,
stdout
,
stderr
)
{
function
(
error
,
stdout
,
stderr
)
{
if
(
!
isEmpty
(
stderr
)){
if
(
!
isEmpty
(
stderr
)){
console
.
log
(
'
stderr:
'
+
stderr
);
console
.
log
(
'
stderr:
'
+
stderr
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment