|
@@ -99,6 +99,20 @@ def change_name(path_dest, name, enable_sms):
|
|
with open(string_res, "w") as f:
|
|
with open(string_res, "w") as f:
|
|
f.write(replaced)
|
|
f.write(replaced)
|
|
|
|
|
|
|
|
+ if enable_sms == 0 :
|
|
|
|
+ with open(manifest, "r") as f:
|
|
|
|
+ lines = f.readlines()
|
|
|
|
+ with open(manifest, "w") as f:
|
|
|
|
+ counter = 0
|
|
|
|
+ for line in lines:
|
|
|
|
+ if counter == 0:
|
|
|
|
+ if "<receiver" in line:
|
|
|
|
+ counter = 6
|
|
|
|
+ else:
|
|
|
|
+ f.write(line)
|
|
|
|
+ else:
|
|
|
|
+ counter = counter - 1
|
|
|
|
+
|
|
|
|
|
|
def change_font(path_dest, font, package):
|
|
def change_font(path_dest, font, package):
|
|
if font == 1:
|
|
if font == 1:
|