Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
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
Commits
2a6347df
Commit
2a6347df
authored
Aug 11, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Boria138-reg' into devel
parents
db0b9986
2b5a06ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
11 deletions
+20
-11
functions_helper
data_from_portwine/scripts/functions_helper
+17
-8
start.sh
data_from_portwine/scripts/start.sh
+3
-3
No files found.
data_from_portwine/scripts/functions_helper
View file @
2a6347df
...
...
@@ -3071,17 +3071,26 @@ pw_yad_form_vulkan () {
portwine_launch
()
{
start_portwine
PORTWINE_MSI
=
$(
basename
"
${
portwine_exe
}
"
|
grep
.msi
)
PORTWINE_BAT
=
$(
basename
"
${
portwine_exe
}
"
|
grep
.bat
)
export
GST_PLUGIN_SYSTEM_PATH_1_0
=
""
if
[[
"
${
PW_VIRTUAL_DESKTOP
}
"
==
"1"
]]
;
then
pw_run explorer
"/desktop=PortProton,
${
PW_SCREEN_RESOLUTION
}
"
${
WINE_WIN_START
}
"
$portwine_exe
"
elif
[
!
-z
"
${
PORTWINE_MSI
}
"
]
;
then
pw_run msiexec /i
"
$portwine_exe
"
elif
[[
!
-z
"
${
PORTWINE_BAT
}
"
||
-n
"
${
portwine_exe
}
"
]]
;
then
pw_run
${
WINE_WIN_START
}
"
$portwine_exe
"
else
pw_run winefile
fi
case
"
$portwine_exe
"
in
*
.bat
)
PW_USE_TERMINAL
=
1
pw_run cmd /c
"
$portwine_exe
"
;;
*
.msi
)
pw_run msiexec /i
"
$portwine_exe
"
;;
*
.reg
)
pw_run regedit
"
$portwine_exe
"
;;
*
)
pw_run winefile
;;
esac
}
pw_winecfg
()
{
...
...
data_from_portwine/scripts/start.sh
View file @
2a6347df
...
...
@@ -36,13 +36,13 @@ if [[ "$1" == *.ppack ]] ; then
portwine_exe
=
"
$1
"
elif
[[
-f
"
$1
"
]]
;
then
portwine_exe
=
"
$(
realpath
"
$1
"
)
"
elif
[[
-f
"
$OLDPWD
/
$1
"
]]
&&
[[
"
$1
"
==
*
.exe
]]
;
then
elif
[[
-f
"
$OLDPWD
/
$1
"
]]
&&
([[
"
$1
"
==
*
.exe
]]
||
[[
"
$1
"
==
*
.bat
]])
;
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
elif
[[
"
$1
"
==
"--debug"
]]
&&
[[
-f
"
$OLDPWD
/
$2
"
]]
&&
([[
"
$2
"
==
*
.exe
]]
||
[[
"
$2
"
==
*
.bat
]])
;
then
portwine_exe
=
"
$(
realpath
"
$OLDPWD
/
$2
"
)
"
elif
[[
"
$1
"
==
*
.exe
]]
;
then
elif
[[
"
$1
"
==
*
.exe
]]
||
[[
"
$1
"
==
*
.bat
]]
;
then
portwine_exe
=
"
$1
"
MISSING_DESKTOP_FILE
=
1
fi
...
...
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