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
Mikhail Tergoev
PortWINE
Commits
4db993a9
Commit
4db993a9
authored
May 23, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix
parent
463ff4c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
restart
data_from_portwine/scripts/restart
+1
-2
runlib
data_from_portwine/scripts/runlib
+6
-6
vars
data_from_portwine/scripts/vars
+0
-4
No files found.
data_from_portwine/scripts/restart
View file @
4db993a9
...
...
@@ -6,6 +6,5 @@ wine_pids=$(ls -l /proc/*/exe 2>/dev/null | grep -E 'wine(64)?-preloader|wineser
if
!
[
-z
"
${
wine_pids
}
"
]
;
then
kill
-9
${
wine_pids
}
fi
STOP_PORTWINE | pwzen
rm
-f
"
${
config_path
}
/dxvk_on"
STOP_PORTWINE | pwzen
data_from_portwine/scripts/runlib
View file @
4db993a9
...
...
@@ -77,12 +77,12 @@ export WINEPREFIX="${PORT_WINE_PATH}/data/pfx"
export
PATH
=
"
${
WINEDIR
}
/bin"
:
${
PATH
}
export
WINESTART
=
"C:
\\
windows
\\
command
\\
start.exe"
export
STEAM_COMPAT_DATA_PATH
=
"
${
PORT_WINE_PATH
}
/data/"
if
[
"
${
PORT_WINE_PATH
}
/libs"
-eq
"1"
]
then
export
LD_LIBRARY_PATH
=
"
${
WINEDIR
}
/lib64/wine:
${
WINEDIR
}
/lib/wine:
${
WINELIB
}
/pinned_libs_32:
${
WINELIB
}
/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib:/usr/lib/i386-linux-gnu/i686:/usr/lib/i386-linux-gnu/sse2:/usr/lib/i386-linux-gnu/i686/sse2:
${
WINELIB
}
/i386/lib/i386-linux-gnu:
${
WINELIB
}
/i386/lib:
${
WINELIB
}
/i386/usr/lib/i386-linux-gnu:
${
WINELIB
}
/i386/usr/lib:
${
WINELIB
}
/amd64/lib/x86_64-linux-gnu:
${
WINELIB
}
/amd64/lib:
${
WINELIB
}
/amd64/usr/lib/x86_64-linux-gnu:
${
WINELIB
}
/amd64/usr/lib"
else
export
LD_LIBRARY_PATH
=
${
WINEDIR
}
/lib64:
${
WINEDIR
}
/lib:
${
LD_LIBRARY_PATH
}
fi
if
[
-d
"
${
PORT_WINE_PATH
}
/libs"
]
then
export
LD_LIBRARY_PATH
=
"
${
WINEDIR
}
/lib64/wine:
${
WINEDIR
}
/lib/wine:
${
WINELIB
}
/pinned_libs_32:
${
WINELIB
}
/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib:/usr/lib/i386-linux-gnu/i686:/usr/lib/i386-linux-gnu/sse2:/usr/lib/i386-linux-gnu/i686/sse2:
${
WINELIB
}
/i386/lib/i386-linux-gnu:
${
WINELIB
}
/i386/lib:
${
WINELIB
}
/i386/usr/lib/i386-linux-gnu:
${
WINELIB
}
/i386/usr/lib:
${
WINELIB
}
/amd64/lib/x86_64-linux-gnu:
${
WINELIB
}
/amd64/lib:
${
WINELIB
}
/amd64/usr/lib/x86_64-linux-gnu:
${
WINELIB
}
/amd64/usr/lib"
else
export
LD_LIBRARY_PATH
=
"
${
WINEDIR
}
/lib64:
${
WINEDIR
}
/lib:
${
LD_LIBRARY_PATH
}
"
fi
########################################################################
export
DXVK_STATE_CACHE_PATH
=
"
${
PATH_TO_GAME
}
"
export
DXVK_STATE_CACHE
=
1
...
...
data_from_portwine/scripts/vars
View file @
4db993a9
...
...
@@ -51,9 +51,6 @@ else ###DXVK###
fi
########################################################################
cd
"
${
PATH_TO_GAME
}
"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/ProgramData/Agent/data"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/steamuser/Blizzard Entertainment/Battle.net/Cache"
rm
-fr
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/Public/Blizzard Entertainment/Battle.net/Cache"
}
########################################################################
ADD_IN_STOP_PORTWINE
()
...
...
@@ -63,6 +60,5 @@ echo " "
########################################################################
ADD_IN_POST_INSTALL
()
{
rm
-f
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/ProgramData/Battle.net/Agent/product.db"
`
zenity
--info
--title
"
${
inst_set_top
}
"
--text
"
${
inst_succ
}
"
--no-wrap
`
>
/dev/null 2>&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