This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
STEAM_DIR=/home/$USER/.steam/steam/steamapps | |
AOE4_DIR=$STEAM_DIR/compatdata/1466860 | |
AOE4_WIN_DIR=$AOE4_DIR/pfx/drive_c/windows | |
AOE4_WIN_SYS32_DIR=$AOE4_WIN_DIR/system32 | |
AOE4_WIN_SYS64_DIR=$AOE4_WIN_DIR/syswow64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Disable readonly mode | |
sudo steamos-readonly disable | |
# Initiate Pacman Keys | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux | |
Localization (){ | |
# reinstall glibc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# 前情提要 | |
BYellow='\033[1;33m' | |
NC='\033[0m' # No Color | |
echo -e "以下即將${BYellow}半自動${NC}安裝中文化語言包,搭配rwfus 的方式讓中文包不會隨更新被洗掉, | |
在每個步驟結束時都會暫停讓你檢查是否安裝成功,若失敗的話建議回覆原廠預設再重新來過(作者本人就失敗了也是這樣做), | |
${BYellow}凡事都有風險請量力而為,重要的請先備份${NC}" | |
echo "有三個步驟,結束時均會暫停請檢查是否成功(success)" | |
echo "1. 安裝rwfus" |