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
d0d1e491
Commit
d0d1e491
authored
Sep 01, 2020
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Integration PortProton in DE
parent
a1efb11f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
2 deletions
+36
-2
portproton.sh
data_from_portwine/scripts/portproton.sh
+21
-0
setup
data_from_portwine/scripts/setup
+13
-0
vars
data_from_portwine/scripts/vars
+2
-2
No files found.
data_from_portwine/scripts/portproton.sh
0 → 100755
View file @
d0d1e491
#!/bin/bash
# Author: PortWINE-Linux.ru
.
"
$(
dirname
$(
readlink
-f
"
$0
"
))
/runlib"
if
[
-f
"
$1
"
]
;
then
portwine_exe
=
"
$1
"
portwine_exe_path
=
"
$(
dirname
$(
readlink
-f
"
$1
"
))
"
START_PORTWINE
cd
"
${
portwine_exe_path
}
"
if
[
!
-z
${
optirun_on
}
]
;
then
${
optirun_on
}
"
${
port_on_run
}
"
"run"
"
$portwine_exe
"
else
"
${
port_on_run
}
"
"run"
"
$portwine_exe
"
fi
STOP_PORTWINE
else
sh
"
${
PORT_SCRIPTS_PATH
}
/winefile"
fi
data_from_portwine/scripts/setup
View file @
d0d1e491
...
...
@@ -22,6 +22,19 @@ if [ ! -z "${gamename}" ]; then
echo
"Icon="
${
PORT_WINE_PATH
}
/data/img/w.png
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
chmod
u+x
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
cp
-f
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
/home/
${
USER
}
/.local/share/applications/
else
name_desktop
=
"PortProton"
echo
"[Desktop Entry]"
>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Name=
${
name_desktop
}
"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Exec=env "
${
PORT_SCRIPTS_PATH
}
/portproton.sh %U
""
>>
"
${
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
"MimeType=application/x-ms-dos-executable;application/x-wine-extension-msp;"
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Path="
${
PORT_SCRIPTS_PATH
}
/
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
echo
"Icon="
${
PORT_WINE_PATH
}
/data/img/w.png
""
>>
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
chmod
u+x
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
cp
-f
"
${
PORT_WINE_PATH
}
/
${
name_desktop
}
.desktop"
/home/
${
USER
}
/.local/share/applications/
fi
name_desktop
=
"readme"
...
...
data_from_portwine/scripts/vars
View file @
d0d1e491
...
...
@@ -20,11 +20,11 @@ export PW_NO_VR=1
export
PW_FILELOCK
=
1
export
PW_DXVK_ASYNC
=
0
export
PW_USE_SECCOMP
=
0
export
PW_NO_WINEMFPLAY
=
0
export
PW_NO_WINEMFPLAY
=
1
export
PW_NVAPI_DISABLE
=
1
export
PW_NO_WRITE_WATCH
=
1
export
PW_WINEDBG_DISABLE
=
1
export
PW_PULSE_LOWLATENCY
=
1
export
PW_PULSE_LOWLATENCY
=
0
export
PW_FORCE_LARGE_ADDRESS_AWARE
=
1
########################################################################
ADD_IN_START_PORTWINE
()
...
...
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