|
@@ -244,6 +244,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
|
|
|
else:
|
|
|
f.write(indented_str(6,
|
|
|
'// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));'))
|
|
|
+ if security["secure_folder"]:
|
|
|
+ f.write(
|
|
|
+ indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
|
|
|
+ else:
|
|
|
+ f.write(indented_str(6,
|
|
|
+ '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
|
|
|
f.write(indented_str(6,
|
|
|
'API.configureFloating(fb);'))
|
|
|
else:
|
|
@@ -571,6 +577,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
|
|
|
else:
|
|
|
f.write(indented_str(6,
|
|
|
'// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));'))
|
|
|
+ if security["secure_folder"]:
|
|
|
+ f.write(
|
|
|
+ indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
|
|
|
+ else:
|
|
|
+ f.write(indented_str(6,
|
|
|
+ '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
|
|
|
f.write(indented_str(6,
|
|
|
'API.configureFloating(fb);'))
|
|
|
else:
|
|
@@ -806,6 +818,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
|
|
|
else:
|
|
|
f.write(indented_str(6,
|
|
|
'// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));', spaces=2))
|
|
|
+ if security["secure_folder"]:
|
|
|
+ f.write(
|
|
|
+ indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));', spaces=2))
|
|
|
+ else:
|
|
|
+ f.write(indented_str(6,
|
|
|
+ '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));', spaces=2))
|
|
|
f.write(indented_str(6,
|
|
|
'API.configureFloating(fb);', spaces=2))
|
|
|
else:
|
|
@@ -1233,6 +1251,12 @@ def change(platform: str, mode: str, path_dest: str, features: dict, security: d
|
|
|
else:
|
|
|
f.write(indented_str(6,
|
|
|
'// fb.add(new FloatingButton(FloatingButton.FEATURE.STREAMING, ""));'))
|
|
|
+ if security["secure_folder"]:
|
|
|
+ f.write(
|
|
|
+ indented_str(6, 'fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
|
|
|
+ else:
|
|
|
+ f.write(indented_str(6,
|
|
|
+ '// fb.add(new FloatingButton(FloatingButton.FEATURE.SECURE_FOLDER, ""));'))
|
|
|
f.write(indented_str(6,
|
|
|
'API.configureFloating(fb);'))
|
|
|
else:
|