Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
ensure Mimic is executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Batcastle committed Dec 24, 2021
1 parent d6619cf commit 76381ba
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion game/Submods/Monika-TTS/header.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ init -990 python in mas_submod_utils:
init -989 python in mtts_utils:
import store
import os

import stat

base_dir = os.getcwd()

#Register the updater if needed
Expand All @@ -45,3 +46,12 @@ init -989 python in mtts_utils:
attachment_id=0,
redirected_files="game"
)

# some other work that needs to be done.
# make sure Mimic is set as executable
linux_bin = base_dir + "/game/Submods/Monika-TTS/Utilities/mimic"
win_bin = linux_bin + ".exe"
st = os.stat(linux_bin)
os.chmod(linux_bin, st.st_mode | stat.S_IEXEC)
st = os.stat(win_bin)
os.chmod(win_bin, st.st_mode | stat.S_IEXEC)

0 comments on commit 76381ba

Please sign in to comment.