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
3e45f16c
Commit
3e45f16c
authored
Oct 12, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PATH_TO_GAMES
parent
ce902b5d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
create_shortcut
data_from_portwine/scripts/create_shortcut
+1
-1
portproton.sh
data_from_portwine/scripts/portproton.sh
+3
-6
No files found.
data_from_portwine/scripts/create_shortcut
View file @
3e45f16c
...
@@ -7,7 +7,7 @@ if [ $? -eq 1 ];then exit 1; fi
...
@@ -7,7 +7,7 @@ if [ $? -eq 1 ];then exit 1; fi
PORTPROTON_EXE
=
$(
zenity
--file-selection
--file-filter
=
""
*
.exe
" "
*
.bat
""
\
PORTPROTON_EXE
=
$(
zenity
--file-selection
--file-filter
=
""
*
.exe
" "
*
.bat
""
\
--title
=
"
${
sc_path
}
"
--filename
=
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/"
)
--title
=
"
${
sc_path
}
"
--filename
=
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/"
)
if
[
$?
-eq
1
]
;
then
exit
1
;
fi
if
[
$?
-eq
1
]
;
then
exit
1
;
fi
PORTPROTON_PATH
=
"
$(
dirname
"
$(
readlink
-f
"
${
PORTPROTON_EXE
}
"
)
"
)
"
PORTPROTON_PATH
=
"
$(
cd
"
$(
dirname
"
${
PORTPROTON_EXE
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
if
[
-x
"
`
which wrestool 2>/dev/null
`
"
]
;
then
if
[
-x
"
`
which wrestool 2>/dev/null
`
"
]
;
then
wrestool
-x
--output
=
"
${
PORT_WINE_PATH
}
/data/img/"
-t14
"
${
PORTPROTON_EXE
}
"
wrestool
-x
--output
=
"
${
PORT_WINE_PATH
}
/data/img/"
-t14
"
${
PORTPROTON_EXE
}
"
fi
fi
...
...
data_from_portwine/scripts/portproton.sh
View file @
3e45f16c
...
@@ -3,18 +3,15 @@
...
@@ -3,18 +3,15 @@
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
if
[
-f
"
$1
"
]
;
then
if
[
-f
"
$1
"
]
;
then
export
portwine_exe
=
"
$(
readlink
-f
"
$1
"
)
"
export
portwine_exe
=
"
$(
readlink
-f
"
$1
"
)
"
export
PATH_TO_GAME
=
"
$(
dirname
$(
readlink
-f
"
$1
"
)
)
"
export
PATH_TO_GAME
=
"
$(
cd
"
$(
dirname
"
$1
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
START_PORTWINE
START_PORTWINE
if
[
!
-z
${
optirun_on
}
]
;
then
if
[
!
-z
${
optirun_on
}
]
;
then
${
optirun_on
}
"
${
port_on_run
}
"
"run"
"
$portwine_exe
"
${
optirun_on
}
"
${
port_on_run
}
"
"run"
"
$portwine_exe
"
else
else
"
${
port_on_run
}
"
"run"
"
$portwine_exe
"
"
${
port_on_run
}
"
"run"
"
$portwine_exe
"
fi
fi
STOP_PORTWINE
else
else
START_PORTWINE
sh
"
${
PORT_SCRIPTS_PATH
}
/winefile"
sh
"
${
PORT_SCRIPTS_PATH
}
/winefile"
fi
fi
STOP_PORTWINE
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