Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
PortWINE-old
Commits
fd767de3
Commit
fd767de3
authored
Jul 15, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-debug' of github.com:Htylol/PortWINE into Htylol-fix-debug
parents
1975fcd5
c9982e1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
start.sh
data_from_portwine/scripts/start.sh
+7
-2
No files found.
data_from_portwine/scripts/start.sh
View file @
fd767de3
...
...
@@ -3,7 +3,6 @@
# Development assistants: Cefeiko; Dezert1r; Taz_mania; Anton_Famillianov; gavr; RidBowt; chal55rus; UserDiscord; Boria138; Vano; Akai; Htylol
# shellcheck disable=SC2140,SC2119,SC2206
########################################################################
$PW_DEBUG
echo
'
█░░ █ █▄░█ █░█ ▀▄▀ ▄▄ █▀▀ ▄▀█ █▀▄▀█ █ █▄░█ █▀▀ ░ █▀█ █░█
█▄▄ █ █░▀█ █▄█ █░█ ░░ █▄█ █▀█ █░▀░█ █ █░▀█ █▄█ ▄ █▀▄ █▄█
...
...
@@ -16,6 +15,7 @@ echo '
╚═╝░░░░░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░░░╚═╝░░╚═╝░╚════╝░░░░╚═╝░░░░╚════╝░╚═╝░░╚══╝
'
$PW_DEBUG
if
[[
$(
id
-u
)
=
0
]]
;
then
echo
"Do not run this script as root!"
exit
1
...
...
@@ -37,6 +37,10 @@ elif [[ -f "$1" ]] ; then
portwine_exe
=
"
$(
realpath
"
$1
"
)
"
elif
[[
-f
"
$OLDPWD
/
$1
"
]]
&&
[[
"
$1
"
==
*
.exe
]]
;
then
portwine_exe
=
"
$(
realpath
"
$OLDPWD
/
$1
"
)
"
elif
[[
"
$1
"
==
"--debug"
]]
&&
[[
-f
"
$2
"
]]
;
then
portwine_exe
=
"
$(
realpath
"
$2
"
)
"
elif
[[
"
$1
"
==
"--debug"
]]
&&
[[
-f
"
$OLDPWD
/
$2
"
]]
&&
[[
"
$2
"
==
*
.exe
]]
;
then
portwine_exe
=
"
$(
realpath
"
$OLDPWD
/
$2
"
)
"
elif
[[
"
$1
"
==
*
.exe
]]
;
then
portwine_exe
=
"
$1
"
MISSING_DESKTOP_FILE
=
1
...
...
@@ -409,6 +413,7 @@ use: [--repair] [--reinstall] [--autoinstall]
"
echo
"
--debug debug scripts for PortProton
(saved log in "
$PORT_WINE_PATH
/scripts-debug.log
")
"
exit
0
;;
...
...
@@ -428,7 +433,7 @@ use: [--repair] [--reinstall] [--autoinstall]
'--debug'
)
clear
export
PW_DEBUG
=
"set -x"
/usr/bin/env bash
-c
${
pw_full_command_line
[*]
}
2>&1 |
tee
"
$PORT_WINE_PATH
/scripts.log"
&
/usr/bin/env bash
-c
${
pw_full_command_line
[*]
}
2>&1 |
tee
"
$PORT_WINE_PATH
/scripts
-debug
.log"
&
exit
0
;;
esac
...
...
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