Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE-old
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-old
Commits
7558c400
Commit
7558c400
authored
Apr 25, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop check ru_RU.UTF-8
parent
dfbc3c24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
18 deletions
+13
-18
functions_helper
data_from_portwine/scripts/functions_helper
+12
-17
PW_WOSB
data_from_portwine/scripts/pw_autoinstall/PW_WOSB
+1
-1
No files found.
data_from_portwine/scripts/functions_helper
View file @
7558c400
...
...
@@ -51,24 +51,19 @@ change_locale () {
echo
"en"
>
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
fi
if
[[
-z
"
${
LANG
}
"
]]
;
then
export
LANG
=
C
LANGUAGE
=
"en
"
if
[[
!
-z
"
${
LANGUAGE
}
"
]]
\
&&
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
]]
;
then
echo
"
"
else
if
[[
!
-z
"
${
LANGUAGE
}
"
]]
\
&&
[[
-f
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
]]
;
then
echo
""
else
[[
!
-f
"
${
pw_yad_v13_0
}
"
]]
&&
pw_yad_v13_0
=
"yad"
SET_LANG
=
$(
"
${
pw_yad_v13_0
}
"
--title
"LANGUAGE"
--text
"Select the language:"
--list
--radiolist
\
--column
=
"Set:"
--column
"Choose language:"
TRUE
"ru"
FALSE
"en"
\
--window-icon
"
$PW_GUI_ICON_PATH
/portproton.svg"
--width
=
300
--height
=
150
)
SET_LANG
=
"
$(
echo
"
${
SET_LANG
}
"
|
awk
-F
'|'
'{print $2}'
)
"
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
if
[[
!
-z
"
${
SET_LANG
}
"
]]
then
LANGUAGE
=
${
SET_LANG
}
else
exit
1
fi
[[
!
-f
"
${
pw_yad_v13_0
}
"
]]
&&
pw_yad_v13_0
=
"yad"
SET_LANG
=
$(
"
${
pw_yad_v13_0
}
"
--title
"LANGUAGE"
--text
"Select the language:"
--list
--radiolist
\
--column
=
"Set:"
--column
"Choose language:"
TRUE
"ru"
FALSE
"en"
\
--window-icon
"
$PW_GUI_ICON_PATH
/portproton.svg"
--width
=
300
--height
=
150
)
SET_LANG
=
"
$(
echo
"
${
SET_LANG
}
"
|
awk
-F
'|'
'{print $2}'
)
"
echo
"
${
SET_LANG
}
"
>
"
${
PORT_WINE_TMP_PATH
}
/PortProton_loc"
if
[[
!
-z
"
${
SET_LANG
}
"
]]
then
LANGUAGE
=
${
SET_LANG
}
else
exit
1
fi
fi
export
LANGUAGE
...
...
data_from_portwine/scripts/pw_autoinstall/PW_WOSB
View file @
7558c400
...
...
@@ -14,7 +14,7 @@ start_portwine
if
try_download
"https://installer.launcher.xsolla.com/xlauncher-builds/xsolla-launcher-update/
${
WOSB_VERSION
}
/bin/installer.exe"
"
${
PW_AUTOINSTALL_EXE
}
"
no_mirror
then
pw_start_progress_bar_block
"Installing World of Sea Battle."
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
pw_run
"
${
PW_AUTOINSTALL_EXE
}
"
try_remove_file
"
${
PW_AUTOINSTALL_EXE
}
"
pw_stop_progress_bar
kill_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