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
332463c9
Commit
332463c9
authored
Jun 15, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix create_shortcut and setup for GNOME
parent
e3973411
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
14 deletions
+36
-14
dxvk.conf
data_from_portwine/dxvk.conf
+1
-1
filelock.py
data_from_portwine/filelock.py
+0
-0
port_on
data_from_portwine/port_on
+1
-1
clean_port
data_from_portwine/scripts/clean_port
+12
-0
create_shortcut
data_from_portwine/scripts/create_shortcut
+2
-2
setup
data_from_portwine/scripts/setup
+17
-7
vars
data_from_portwine/scripts/vars
+3
-3
No files found.
data_from_portwine/dxvk.conf
View file @
332463c9
...
...
@@ -36,7 +36,7 @@
#
# Supported values: True, False
#
dxgi.nvapiHack = True
dxgi
.
nvapiHack
=
True
# Override maximum amount of device memory and shared system memory
...
...
data_from_portwine/filelock.py
100644 → 100755
View file @
332463c9
File mode changed from 100644 to 100755
data_from_portwine/port_on
View file @
332463c9
...
...
@@ -265,7 +265,7 @@ class Session:
self
.
log_file
=
None
self
.
env
=
dict
(
os
.
environ
)
self
.
dlloverrides
=
{
"steam.exe"
:
""
"steam.exe"
:
"
n
"
}
self
.
compat_config
=
set
()
...
...
data_from_portwine/scripts/clean_port
0 → 100755
View file @
332463c9
#!/bin/bash
# Author: PortWINE-Linux.ru
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
##########################################################
rm
-f
"
${
PORT_WINE_PATH
}
/data/version"
rm
-f
"
${
PORT_WINE_PATH
}
/data/"
*
.lock
rm
-fr
"
${
PORT_WINE_PATH
}
/data/__pycache__"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/dosdevices"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/dive_c/windows/Installer/"
*
rm
-fr
"
${
PORT_WINE_PATH
}
/data/dive_c/windows/temp/"
*
rm
-fr
"
${
PORT_WINE_PATH
}
/data/dive_c/users/steamuser/Local Settings/Temporary Internet Files/"
*
rm
-fr
"
${
PORT_WINE_PATH
}
/data/dive_c/users/steamuser/Temp/"
*
data_from_portwine/scripts/create_shortcut
View file @
332463c9
...
...
@@ -19,13 +19,13 @@ cp -f "${PORTPROTON_IMG}" "${PORT_WINE_PATH}/data/img/${PORTPROTON_NAME}.png"
name_desktop
=
"
${
PORTPROTON_NAME
}
"
echo
"[Desktop Entry]"
>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Name=
${
PORTPROTON_NAME
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Exec="
export
PATH_TO_GAME
=
\"
"
$PORTPROTON_PATH
"
\"
\&\&
sh
\"
${
PORT_WINE_PATH
}
/data/scripts/start
\"
\"
${
PORTPROTON_EXE
}
\"
""
\
echo
"Exec="
export
PATH_TO_GAME
=
\"
"
$PORTPROTON_PATH
"
\"
\&\&
\"
${
PORT_WINE_PATH
}
/data/scripts/start
\"
\"
${
PORTPROTON_EXE
}
\"
""
\
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Type=Application"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Categories=Game"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"StartupNotify=true"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Path="
${
PORT_WINE_PATH
}
/data/scripts/
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Icon="
${
PORTPROTON_IMG
}
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
chmod
u
+x
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
chmod
+x
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
########################################################################
`
zenity
--info
--title
"Успешно."
--text
"Ярлык создан в корневом каталоге порта."
--no-wrap
`
>
/dev/null 2>&1
data_from_portwine/scripts/setup
View file @
332463c9
...
...
@@ -14,7 +14,7 @@ if [ ! -z ${gamename} ]; then
name_desktop
=
"
${
gamename
}
"
echo
"[Desktop Entry]"
>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Name=
${
name_desktop
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Exec="
${
PORT_WINE_PATH
}
/data/scripts/start
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Exec=
sh
"
${
PORT_WINE_PATH
}
/data/scripts/start
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Type=Application"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Categories=Game"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"StartupNotify=true"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
...
...
@@ -40,7 +40,7 @@ for name_desktop in "winecfg" "winefile" "winecmd" "winereg" "create_shortcut"
do
echo
""
[
Desktop Entry]
"
"
Name
=
${
name_desktop
}
"
"
Exec
=
"
${
PORT_WINE_PATH
}
/data/scripts/
${
name_desktop
}
""
"
Exec
=
sh
"
${
PORT_WINE_PATH
}
/data/scripts/
${
name_desktop
}
""
"
Type
=
Application
"
"
Categories
=
Game
"
"
StartupNotify
=
true
"
...
...
@@ -53,7 +53,7 @@ for name_desktop in "debug" "reset"
do
echo
""
[
Desktop Entry]
"
"
Name
=
${
name_desktop
}
"
"
Exec
=
"
${
PORT_WINE_PATH
}
/data/scripts/
${
name_desktop
}
""
"
Exec
=
sh
"
${
PORT_WINE_PATH
}
/data/scripts/
${
name_desktop
}
""
"
Type
=
Application
"
"
Categories
=
Game
"
"
StartupNotify
=
true
"
...
...
@@ -64,7 +64,7 @@ done
echo
""
[
Desktop Entry]
"
"
Name
=
winetricks
"
"
Exec
=
"
${
PORT_WINE_PATH
}
/data/scripts/remove""
"
Exec
=
sh
"
${
PORT_WINE_PATH
}
/data/scripts/remove""
"
Type
=
Application
"
"
Categories
=
Game
"
"
StartupNotify
=
true
"
...
...
@@ -74,7 +74,7 @@ chmod u+x "${PORT_WINE_PATH}/Settings/remove.desktop"
echo
""
[
Desktop Entry]
"
"
Name
=
winetricks
"
"
Exec
=
"
${
PORT_WINE_PATH
}
/data/scripts/winetricks-q-force""
"
Exec
=
sh
"
${
PORT_WINE_PATH
}
/data/scripts/winetricks-q-force""
"
Type
=
Application
"
"
Categories
=
Game
"
"
StartupNotify
=
true
"
...
...
@@ -83,11 +83,21 @@ echo ""[Desktop Entry]"
chmod
u+x
"
${
PORT_WINE_PATH
}
/Settings/winetricks.desktop"
chmod
u+x
"
${
PORT_WINE_PATH
}
/data/scripts/"
*
ln
-s
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/"
"
${
PORT_WINE_PATH
}
/drive_c"
if
[
!
-d
"
${
PORT_WINE_PATH
}
/drive_c"
]
;
then
ln
-s
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/"
"
${
PORT_WINE_PATH
}
/drive_c"
fi
sed
-i
"s/xuser/
${
USER
}
/g"
"
${
PORT_WINE_PATH
}
/data/pfx/"
*
.reg
rm
-f
"
${
PATH_TO_GAME
}
"
/
*
.dxvk-cache
if
[
!
-z
"
${
PATH_TO_GAME
}
"
]
;
then
rm
-f
"
${
PATH_TO_GAME
}
"
/
*
.dxvk-cache
fi
if
[
-f
"
${
PORT_WINE_PATH
}
/restart.desktop"
]
;
then
rm
"
${
PORT_WINE_PATH
}
/restart.desktop"
fi
ADD_IN_POST_INSTALL
xdg-open
"http://portwine-linux.ru/portwine-faq/"
>
/dev/null 2>&1 &
exit
0
data_from_portwine/scripts/vars
View file @
332463c9
...
...
@@ -18,9 +18,9 @@ export PW_LOG=0
export
PW_ACO
=
1
export
PW_NO_VR
=
1
export
PW_FILELOCK
=
1
export
PW_DXVK_ASYNC
=
0
export
PW_USE_SECCOMP
=
1
export
PW_NO_WINEMFPLAY
=
1
export
PW_DXVK_ASYNC
=
1
export
PW_USE_SECCOMP
=
0
export
PW_NO_WINEMFPLAY
=
0
export
PW_NVAPI_DISABLE
=
1
export
PW_NO_WRITE_WATCH
=
1
export
PW_WINEDBG_DISABLE
=
1
...
...
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