First commit
This commit is contained in:
commit
3faa417162
5 changed files with 50 additions and 0 deletions
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# Executables
|
||||||
|
*.exe
|
||||||
|
|
||||||
|
# Wine prefix
|
||||||
|
.wine
|
||||||
|
|
10
.logger.sh
Normal file
10
.logger.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# https://linuxhandbook.com/change-echo-output-color/#ansi-escape-codes-for-the-colored-output
|
||||||
|
R='\033[0;31m' #'0;31' is Red's ANSI color code
|
||||||
|
G='\033[0;32m' #'0;32' is Green's ANSI color code
|
||||||
|
Y='\033[1;32m' #'1;32' is Yellow's ANSI color code
|
||||||
|
B='\033[0;34m' #'0;34' is Blue's ANSI color code
|
||||||
|
RESET='\033[0m'
|
||||||
|
|
||||||
|
function log_info {
|
||||||
|
printf "\n[$(date +%T)] [${G}Info$RESET] $1\n"
|
||||||
|
}
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# roblox-studio-linux
|
||||||
|
|
||||||
|
A collection of Bash scripts to manage the Roblox Studio installation on Linux
|
9
config.sh
Normal file
9
config.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Where to install Roblox Studio
|
||||||
|
install_path=`pwd`
|
||||||
|
|
||||||
|
# Prefix to be used by wine when running Roblox Studio
|
||||||
|
prefix="$install_path/.wine"
|
||||||
|
|
||||||
|
download_url="https://setup.rbxcdn.com/RobloxStudioInstaller.exe"
|
22
install.sh
Executable file
22
install.sh
Executable file
|
@ -0,0 +1,22 @@
|
||||||
|
#!/bin/bash
|
||||||
|
source config.sh
|
||||||
|
source .logger.sh
|
||||||
|
|
||||||
|
export WINEPREFIX=$prefix
|
||||||
|
#curl -O $download_url
|
||||||
|
|
||||||
|
log_info "Installer downloaded."
|
||||||
|
|
||||||
|
Create wine prefix
|
||||||
|
wineboot
|
||||||
|
|
||||||
|
log_info "Wine prefix setup complete."
|
||||||
|
log_info "Installing Roblox..."
|
||||||
|
|
||||||
|
wine $install_path/RobloxStudioInstaller.exe
|
||||||
|
|
||||||
|
log_info "Installation complete.. configuring renderer"
|
||||||
|
|
||||||
|
winecfg renderer=vulkan
|
||||||
|
|
||||||
|
log_info "Renderer set!"
|
Loading…
Add table
Add a link
Reference in a new issue