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
c1a0930b
Commit
c1a0930b
authored
May 10, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix create new pfx
parent
e06cca91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
18 deletions
+29
-18
changelog
data_from_portwine/changelog
+10
-1
runlib
data_from_portwine/scripts/runlib
+19
-17
No files found.
data_from_portwine/changelog
View file @
c1a0930b
...
...
@@ -15,6 +15,15 @@
* добавить контроль за окнами для правильного отключения прогресс бара
* зарабатывать на жизнь развитием проекта с помощью вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 1074###
* HOTFIX - добалено ожидание окончания создания префикса, перед продолжением использования порта
###Scripts version 1073###
* HOTFIX - создание каталога drive_c перед созданием симлинка на него
###Scripts version 1072###
* HOTFIX - создание префикса (каталог dosedevices с симлинками) под всеми ОС Linux и разными версиями Proton (включая GE)
###Scripts version 1071###
* HOTFIX - был ошибочно убран аргумент SkipBuildPatchPrereq для Epic (вернули)
...
...
@@ -23,7 +32,7 @@
###Scripts version 1069###
* обновлены db файлы
* HOTFIX -
s
закомментирована переменная __NV_PRIME_RENDER_OFFLOAD=1 для работы некоторых игр в оконном режиме с видеокартой от NVIDIA
* HOTFIX -закомментирована переменная __NV_PRIME_RENDER_OFFLOAD=1 для работы некоторых игр в оконном режиме с видеокартой от NVIDIA
###PortProton-79### 04.05.2021 ###Scripts version 1068###
* обновлен Proton до версии 6.3-3 от 04.05.2021
...
...
data_from_portwine/scripts/runlib
View file @
c1a0930b
...
...
@@ -602,38 +602,40 @@ PW_UPDATE () {
}
PW_INIT_PFX
()
{
rm
-f
"
${
WINEDIR
}
"
*
/lib
*
/
*
steam
*
rm
-f
"
${
WINEDIR
}
"
*
/lib
*
/wine/
*
steam
*
rm
-f
"
${
WINEDIR
}
"
*
/lib
*
/wine/fakedlls/
*
steam
*
#sed -i '/HKCU,Software\\Valve\\Steam/d' "${WINEDIR}"*/share/wine/wine.inf
#sed -i '/HKLM,Software\\Wow6432Node\\Valve\\Steam/d' "${WINEDIR}"*/share/wine/wine.inf
#sed -i '/HKLM,Software\\Wow6432Node\\Valve\\Steam/d' "${WINEDIR}"*/share/wine/wine.inf
rm
-f
"
${
WINEDIR
}
"
*
/lib
*
/
*
steam
*
rm
-f
"
${
WINEDIR
}
"
*
/lib
*
/wine/
*
steam
*
rm
-f
"
${
WINEDIR
}
"
*
/lib
*
/wine/fakedlls/
*
steam
*
#sed -i '/HKCU,Software\\Valve\\Steam/d' "${WINEDIR}"*/share/wine/wine.inf
#sed -i '/HKLM,Software\\Wow6432Node\\Valve\\Steam/d' "${WINEDIR}"*/share/wine/wine.inf
#sed -i '/HKLM,Software\\Wow6432Node\\Valve\\Steam/d' "${WINEDIR}"*/share/wine/wine.inf
create_new_dir
"
${
WINEPREFIX
}
/drive_c"
create_new_dir
"
${
WINEPREFIX
}
/dosdevices"
[
!
-d
"
${
WINEPREFIX
}
/dosdevices/c:"
]
&&
try_force_link_dir
"
${
WINEPREFIX
}
/drive_c/"
"
${
WINEPREFIX
}
/dosdevices/c:"
[
!
-d
"
${
WINEPREFIX
}
/dosdevices/z:"
]
&&
try_force_link_dir
"/"
"
${
WINEPREFIX
}
/dosdevices/z:"
if
[
!
-d
"
${
WINEPREFIX
}
"
]
||
[
!
-d
"
${
WINEPREFIX
}
"
/drive_c/windows
]
||
\
[
!
-f
"
${
WINEPREFIX
}
"
/user.reg
]
||
[
!
-f
"
${
WINEPREFIX
}
"
/userdef.reg
]
||
\
[
!
-f
"
${
WINEPREFIX
}
"
/system.reg
]
;
[
!
-f
"
${
WINEPREFIX
}
"
/system.reg
]
then
sed
-i
'/HKCR,steam\\shell\\open\\command/d'
"
${
WINEDIR
}
"
*
/share/wine/wine.inf
sed
-i
'/HKCR,steam\\shell\\open\\command/d'
"
${
WINEDIR
}
"
*
/share/wine/wine.inf
sed
-i
'/HKCR,steam\\shell\\open\\command/d'
"
${
WINEDIR
}
"
*
/share/wine/wine.inf
sed
-i
'/HKCR,steam\\shell\\open\\command/d'
"
${
WINEDIR
}
"
*
/share/wine/wine.inf
try_remove_file
"
${
WINEPREFIX
}
/winetricks.log"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
cp
-fr
"
${
WINEDIR
}
/share/default_pfx/"
*
"
${
WINEPREFIX
}
"
cp
-f
"
${
WINEDIR
}
/lib/wine/fakedlls/"
*
.
*
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
cp
-f
"
${
WINEDIR
}
/lib/wine/"
*
.
*
"
${
WINEPREFIX
}
/drive_c/windows/syswow64/"
cp
-f
"
${
WINEDIR
}
/lib64/wine/fakedlls/"
*
.
*
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
cp
-f
"
${
WINEDIR
}
/lib64/wine/"
*
.
*
"
${
WINEPREFIX
}
/drive_c/windows/system32/"
PW_STOP_PROGRESS_BAR
PW_START_PROGRESS_BAR_BLOCK
"Updating prefix... Please wait..."
KILL_PORTWINE
"
${
PW_RUNTIME
}
"
"
${
WINELOADER
}
"
wineboot
-u
WAIT_WINESERVER
KILL_PORTWINE
PW_STOP_PROGRESS_BAR
PW_START_PROGRESS_BAR_CS
"Initialization prefix..."
fi
if
[
!
-d
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/
${
USER
}
"
]
;
then
try_force_link_dir
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/steamuser"
"
${
PORT_WINE_PATH
}
/data/pfx/drive_c/users/
${
USER
}
"
fi
rm
-f
"
${
WINEPREFIX
}
/drive_c/windows/system32"
/steam
*
rm
-f
"
${
WINEPREFIX
}
/drive_c/windows/syswow64"
/steam
*
rm
-f
"
${
WINEPREFIX
}
/drive_c/windows/system32"
/steam
*
rm
-f
"
${
WINEPREFIX
}
/drive_c/windows/syswow64"
/steam
*
create_new_dir
"
${
WINEPREFIX
}
/drive_c/windows/Fonts/"
try_copy_file
"
${
WINEDIR
}
/share/fonts/"
LiberationSans-Regular.ttf
"
${
WINEPREFIX
}
/drive_c/windows/Fonts/"
arial.ttf
...
...
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