Created
June 27, 2012 06:11
-
-
Save fum1h1ro/3001868 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/ruby | |
# filetype: ruby | |
# encoding: utf8 | |
# プレイヤーからのビルド後にパッチを適用する | |
PATCH = '/usr/bin/patch' | |
pwd = ARGV[0] | |
target = ARGV[1] | |
appcontroller = "#{pwd}/Classes/AppController.mm" | |
patch = "#{pwd}/Libraries/AppController.mm.patch" | |
cmdline = "#{PATCH} -u #{appcontroller} < #{patch}" | |
system cmdline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment