mirror of
https://github.com/Relintai/MemR.git
synced 2024-12-25 14:07:19 +01:00
Request permissions on android.
This commit is contained in:
parent
98799a8f5f
commit
a3a687725f
@ -15,27 +15,27 @@ script = ExtResource( 2 )
|
||||
[node name="Menu" parent="." instance=ExtResource( 1 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 800.0
|
||||
margin_right = 900.0
|
||||
margin_bottom = 1000.0
|
||||
|
||||
[node name="VBoxContainer" parent="Menu" index="0"]
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 800.0
|
||||
margin_right = 900.0
|
||||
margin_bottom = 1000.0
|
||||
|
||||
[node name="Sort" parent="Menu/VBoxContainer" index="0"]
|
||||
margin_top = 313.0
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 355.0
|
||||
margin_top = 413.0
|
||||
margin_right = 900.0
|
||||
margin_bottom = 455.0
|
||||
|
||||
[node name="Settings" parent="Menu/VBoxContainer" index="1"]
|
||||
margin_top = 379.0
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 421.0
|
||||
margin_top = 479.0
|
||||
margin_right = 900.0
|
||||
margin_bottom = 521.0
|
||||
|
||||
[node name="Exit" parent="Menu/VBoxContainer" index="2"]
|
||||
margin_top = 445.0
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 487.0
|
||||
margin_top = 545.0
|
||||
margin_right = 900.0
|
||||
margin_bottom = 587.0
|
||||
|
||||
[node name="Settings" parent="." instance=ExtResource( 3 )]
|
||||
visible = false
|
||||
@ -52,8 +52,8 @@ margin_right = 1017.0
|
||||
margin_bottom = 593.0
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
margin_right = 1024.0
|
||||
margin_bottom = 800.0
|
||||
margin_right = 900.0
|
||||
margin_bottom = 1000.0
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="FolderSetupError" type="AcceptDialog" parent="Control"]
|
||||
|
@ -84,6 +84,8 @@ func refresh_sub_categories() -> void:
|
||||
_sub_categories_ob.add_item(folders[i])
|
||||
|
||||
func validate_folders() -> bool:
|
||||
OS.request_permissions()
|
||||
|
||||
sort_folder = ProjectSettings.get("application/config/sort_folder")
|
||||
target_folder = ProjectSettings.get("application/config/target_folder")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user