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
2a86ac87
Commit
2a86ac87
authored
Oct 07, 2021
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
###Scripts version 2016###
parent
0449899d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
7 deletions
+15
-7
changelog
data_from_portwine/changelog
+5
-1
functions_helper
data_from_portwine/scripts/functions_helper
+1
-1
default
data_from_portwine/scripts/portwine_db/default
+3
-0
runlib
data_from_portwine/scripts/runlib
+4
-1
start.sh
data_from_portwine/scripts/start.sh
+1
-3
var
data_from_portwine/scripts/var
+1
-1
No files found.
data_from_portwine/changelog
View file @
2a86ac87
...
...
@@ -6,8 +6,12 @@
* добавить комментарии описывающие функционал скриптов и db файлов
* заниматься только развитием проекта за счет вашей подписки на https://boosty.to/portwine-linux.ru
-----------------------------------------
###Scripts version 2016###
* убрано удаление иконок внутри каталогов с играми после создания ярлыков
* HOTFIX - исправлено создание ссылок для MONO и GECKO при первом запуске порта
###Scripts version 2015###
* расшир
ty
функционал проверки существования mono и gecko
* расшир
ен
функционал проверки существования mono и gecko
* добавлена новая функция check_symlink
* временно возвращено использование libs_v17
* в EDIT_DB добавлена возможность отключения winegstreamer
...
...
data_from_portwine/scripts/functions_helper
View file @
2a86ac87
...
...
@@ -472,7 +472,7 @@ pw_tray_icon () {
if
[
!
-z
"
`
pgrep
-a
yad_new |
grep
"
\-\-
notification"
|
awk
'{print $1}'
`
"
]
then
kill
-s
SIGUSR1
"
`
pgrep
-a
yad_new |
grep
"
\-\-
notification"
|
awk
'{print $1}'
`
"
fi
kill
all start.sh
kill
-9
`
pgrep
-a
start.sh |
awk
'/PortWINE/ && /PortProton/'
|
awk
'{print $1}'
`
}
export
-f
tray_icon_click_exit
...
...
data_from_portwine/scripts/portwine_db/default
View file @
2a86ac87
...
...
@@ -41,4 +41,6 @@
##export PW_USE_TERMINAL=1 # Force run in terminal
##export PW_GUI_DISABLED_CS=1 # 1 = disabled GUI
##export PATH_TO_GAME=
##add_in_start_portwine () { commands ; }
\ No newline at end of file
data_from_portwine/scripts/runlib
View file @
2a86ac87
...
...
@@ -19,6 +19,7 @@ fi
start_portwine
()
{
pw_check_and_download_wine
"
${
PW_WINE_USE
}
"
init_wine_ver
pw_tray_icon &
if
[
-x
"
`
which konsole 2>/dev/null
`
"
]
;
then
export
PW_TERM
=
"konsole --nofork -e"
# elif [ -x "`which gnome-terminal 2>/dev/null`" ]; then export PW_TERM="gnome-terminal -- /bin/bash" ???
...
...
@@ -397,7 +398,9 @@ start_portwine () {
pw_run
()
{
if
[
!
-z
"
$portwine_exe
"
]
;
then
export
PATH_TO_GAME
=
"
$(
cd
"
$(
dirname
"
${
portwine_exe
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
if
[
-z
"
$PATH_TO_GAME
"
]
;
then
export
PATH_TO_GAME
=
"
$(
cd
"
$(
dirname
"
${
portwine_exe
}
"
)
"
>
/dev/null 2>&1
&&
pwd
)
"
fi
cd
"
${
PATH_TO_GAME
}
"
else
cd
"
${
WINEPREFIX
}
/drive_c"
...
...
data_from_portwine/scripts/start.sh
View file @
2a86ac87
...
...
@@ -5,7 +5,7 @@ if [ -f "$1" ]; then
export
portwine_exe
=
"
$(
readlink
-f
"
$1
"
)
"
fi
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
kill_portwine
kill_portwine
portwine_launch
()
{
start_portwine
...
...
@@ -43,8 +43,6 @@ portwine_create_shortcut () {
icotool
-x
--output
=
"
${
PORTPROTON_PATH
}
/"
"
${
PORTPROTON_EXE
}
.ico"
cp
"
$(
ls
-S
-1
"
${
PORTPROTON_EXE
}
"
*
".png"
|
head
-n
1
)
"
"
${
PORTPROTON_EXE
}
.png"
cp
-f
"
${
PORTPROTON_EXE
}
.png"
"
${
PORT_WINE_PATH
}
/data/img/
${
PORTPROTON_NAME
}
.png"
rm
-f
"
${
PORTPROTON_PATH
}
/"
*
.ico
rm
-f
"
${
PORTPROTON_PATH
}
/"
*
.png
fi
name_desktop
=
"
${
PORTPROTON_NAME
}
"
echo
"[Desktop Entry]"
>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
...
...
data_from_portwine/scripts/var
View file @
2a86ac87
#!/bin/bash
#Author: Castro-Fidel (PortWINE-Linux.ru)
#SCRIPTS_NEXT_VERSION=201
5
#SCRIPTS_NEXT_VERSION=201
6
#PORT_NEXT_VERSION=97
########################################################################
export
PW_MANGOHUD
=
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