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
0c50d3df
Commit
0c50d3df
authored
Jan 15, 2022
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update post-install script
parent
e09bdb70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
changelog
data_from_portwine/changelog
+1
-0
setup.sh
data_from_portwine/scripts/setup.sh
+14
-0
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog
View file @
0c50d3df
...
...
@@ -8,6 +8,7 @@
* добавить проверку на существоваие каталога wine, если таковой нет, предложить стандартную версию, или скачать другую
* добавить inxi в runtime и его вывод с аргументом -G в log
* добавить проверку количества db файлов на один exe
* добавить выбор языка в PortProton
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 2060###
...
...
data_from_portwine/scripts/setup.sh
View file @
0c50d3df
...
...
@@ -33,6 +33,20 @@ chmod u+x "${PORT_WINE_PATH}/${name_desktop}.desktop"
if
[
"
${
PW_SILENT_INSTALL
}
"
=
"1"
]
;
then
if
[
"
${
PW_AUTOPLAY
}
"
=
"1"
]
;
then
unset
INSTALLING_PORT
if
[[
-f
"
${
HOME
}
/.local/share/applications/PortProton.desktop"
]]
;
then
export
PW_OLD_PATH
=
`
cat
"
${
HOME
}
/.local/share/applications/PortProton.desktop"
|
grep
-w
'Path='
|
sed
-E
's/Path=//'
|
sed
-E
's%\/PortProton\/data\/scripts\/%%g'
`
try_remove_file
"
${
HOME
}
/.local/share/applications/PortProton.desktop"
fi
if
[[
!
-z
"
${
PW_OLD_PATH
}
"
]]
;
then
if
[[
"
${
PW_OLD_PATH
}
"
*
==
"
${
HOME
}
/PortWINE"
*
]]
&
[[
-d
"
${
HOME
}
/PortWINE"
]]
;
then
mv
-f
"
${
HOME
}
/PortWINE"
"
${
XDG_DATA_HOME
}
"
elif
[[
"
${
PW_OLD_PATH
}
"
*
==
"
${
PW_OLD_PATH
}
/PortWINE"
*
]]
&
[[
-d
"
${
PW_OLD_PATH
}
/PortWINE"
]]
;
then
ln
-s
"
${
PW_OLD_PATH
}
/PortWINE"
"
${
XDG_DATA_HOME
}
/"
elif
[[
"
${
PW_OLD_PATH
}
"
*
==
"
${
PW_OLD_PATH
}
/PortProton"
*
]]
&
[[
-d
"
${
PW_OLD_PATH
}
/PortProton"
]]
;
then
create_new_dir
"
${
XDG_DATA_HOME
}
/PortWINE"
ln
-s
"
${
PW_OLD_PATH
}
/PortProton"
"
${
XDG_DATA_HOME
}
/PortWINE"
fi
fi
ln
-s
"
${
XDG_DATA_HOME
}
/PortWINE"
"
${
HOME
}
/"
sh
"
${
XDG_DATA_HOME
}
/PortWINE/PortProton/data/scripts/start.sh"
$@
&
exit
0
else
...
...
data_from_portwine/scripts/var
View file @
0c50d3df
...
...
@@ -5,7 +5,7 @@
########################################################################
export
PW_MANGOHUD
=
1
export
MANGOHUD_CONFIG
=
font_size
=
24,position
=
top-left,toggle_hud
=
Shift_R+F12,no_display,resolution,wine,gpu_name,vulkan_driver,gpu_stats,vkbasalt
export
DXVK_HUD
=
compiler
#
export DXVK_HUD=compiler
#export ENABLE_VKBASALT=1
#export PW_VIRTUAL_DESKTOP=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