Skip to content

Commit 275dbe5

Browse files
Ready for alpha 1 release (#18)
1 parent 05d8905 commit 275dbe5

File tree

10 files changed

+50
-13
lines changed

10 files changed

+50
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
mv ./bin/android_debug.apk ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_RELEASE}/android_debug.apk
103103
mv ./bin/android_source.zip ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_RELEASE}/android_source.zip
104104
105-
- if: ${{ steps.cache-template.outputs.cache-hit != 'true' && github.event_name == 'workflow_dispatch' }}
105+
- if: ${{ steps.cache-template.outputs.cache-hit != 'true' }}
106106
name: Build Godot release template for Android
107107
run: |
108108
cd godot

app_info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"project_founder_and_manager": ["Anish Mishra"],
2+
"project_founder_and_manager": "Anish Mishra",
33
"authors": ["Anish Mishra (syntaxerror247)"],
44
"donors": [],
55
"anonymous_donors": 0,

export_presets.cfg

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ architectures/arm64-v8a=true
3434
architectures/x86=false
3535
architectures/x86_64=false
3636
version/code=1
37-
version/name="1.0-alpha7"
37+
version/name="1.0-alpha1"
3838
package/unique_name="com.godsvg.mobile"
3939
package/name="GodSVG Mobile"
4040
package/signed=true
@@ -47,10 +47,10 @@ package/show_as_launcher_app=false
4747
launcher_icons/main_192x192="res://godot_only/android_icons/legacy_icon.png"
4848
launcher_icons/adaptive_foreground_432x432="res://godot_only/android_icons/adaptive_foreground.png"
4949
launcher_icons/adaptive_background_432x432="res://godot_only/android_icons/adaptive_background.png"
50-
launcher_icons/adaptive_monochrome_432x432=""
50+
launcher_icons/adaptive_monochrome_432x432="uid://cop6bgxvtv4uq"
5151
graphics/opengl_debug=false
5252
xr_features/xr_mode=0
53-
wear_os/swipe_to_dismiss=true
53+
gesture/swipe_to_dismiss=false
5454
screen/immersive_mode=false
5555
screen/support_small=true
5656
screen/support_normal=true
@@ -214,3 +214,4 @@ permissions/write_sms=false
214214
permissions/write_social_stream=false
215215
permissions/write_sync_settings=false
216216
permissions/write_user_dictionary=false
217+
wear_os/swipe_to_dismiss=true
13.8 KB
Loading
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[remap]
2+
3+
importer="texture"
4+
type="CompressedTexture2D"
5+
uid="uid://cop6bgxvtv4uq"
6+
path="res://.godot/imported/monochrome_white.png-336fe08161ffbbd756752ed6dada0830.ctex"
7+
metadata={
8+
"vram_texture": false
9+
}
10+
11+
[deps]
12+
13+
source_file="res://godot_only/android_icons/monochrome_white.png"
14+
dest_files=["res://.godot/imported/monochrome_white.png-336fe08161ffbbd756752ed6dada0830.ctex"]
15+
16+
[params]
17+
18+
compress/mode=0
19+
compress/high_quality=false
20+
compress/lossy_quality=0.7
21+
compress/hdr_compression=1
22+
compress/normal_map=0
23+
compress/channel_pack=0
24+
mipmaps/generate=false
25+
mipmaps/limit=-1
26+
roughness/mode=0
27+
roughness/src_normal=""
28+
process/fix_alpha_border=true
29+
process/premult_alpha=false
30+
process/normal_map_invert_y=false
31+
process/hdr_as_srgb=false
32+
process/hdr_clamp_exposure=false
33+
process/size_limit=0
34+
detect_3d/compress_to=1

project.godot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ config_version=5
1111
[application]
1212

1313
config/name="GodSVG Mobile"
14-
config/version="1.0-alpha7"
14+
config/version="1.0-alpha1"
1515
config/tags=PackedStringArray("application", "mobile", "project")
1616
run/main_scene="uid://bihwwoedqcyo8"
1717
config/use_custom_user_dir=true

src/autoload/Configs.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func reset_settings() -> void:
6969
savedata = SaveData.new()
7070
savedata.reset_to_default()
7171
savedata.language = "en"
72-
savedata.set_shortcut_panel_slots({ 0: "undo", 1: "redo" })
72+
savedata.set_shortcut_panel_slots({ 0: "undo", 1: "redo", 2: "save"})
7373
savedata.set_palettes([Palette.new("Pure", Palette.Preset.PURE)])
7474
save()
7575

src/ui_parts/about_menu.gd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func _ready() -> void:
1919
stylebox.content_margin_top += 2.0
2020
add_theme_stylebox_override("panel", stylebox)
2121

22-
%VersionLabel.text = "GodSVG v" + ProjectSettings.get_setting("application/config/version")
22+
%VersionLabel.text = "GodSVG Mobile v" + ProjectSettings.get_setting("application/config/version")
2323

2424
close_button.pressed.connect(queue_free)
2525
close_button.text = Translator.translate("Close")
@@ -110,7 +110,7 @@ func _on_tab_changed(idx: int) -> void:
110110
# This part doesn't need to be translated.
111111
var licenses_dict := Engine.get_license_info()
112112

113-
%LicenseLabel.text = "MIT License\n\nCopyright (c) 2023 MewPurPur\n" +\
113+
%LicenseLabel.text = "MIT License\n\nCopyright (c) 2025 Anish Mishra\n" +\
114114
"Copyright (c) 2023-present GodSVG contributors\n\n" + licenses_dict["Expat"]
115115
3:
116116
for child in %GodSVGParts.get_children():

src/ui_parts/about_menu.tscn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ theme_override_constants/separation = 8
6868

6969
[node name="ProjectFounderLabel" type="Label" parent="VBoxContainer/TabContainer/Authors/MarginContainer/VBoxContainer"]
7070
unique_name_in_owner = true
71+
custom_minimum_size = Vector2(0, 50)
7172
layout_mode = 2
7273
theme_override_font_sizes/font_size = 16
7374
horizontal_alignment = 1
75+
vertical_alignment = 1
7476

7577
[node name="DevelopersLabel" type="Label" parent="VBoxContainer/TabContainer/Authors/MarginContainer/VBoxContainer"]
7678
unique_name_in_owner = true

src/utils/FileUtils.gd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ static func save_svg_as() -> void:
5151
_save_svg_as_with_custom_final_callback(Callable())
5252

5353
static func open_export_dialog(export_data: ImageExportData, final_callback := Callable()) -> void:
54-
OS.request_permissions()
5554
if OS.has_feature("web"):
5655
var web_format_name := ImageExportData.web_formats[export_data.format]
5756
if export_data.format == "svg":
@@ -88,7 +87,8 @@ static func open_export_dialog(export_data: ImageExportData, final_callback := C
8887
export_dialog.file_selected.connect(non_native_callback)
8988

9089
static func open_xml_export_dialog(xml: String, file_name: String) -> void:
91-
OS.request_permissions()
90+
if not OS.request_permissions():
91+
return
9292
if OS.has_feature("web"):
9393
_web_save(xml.to_utf8_buffer(), "application/xml")
9494
else:
@@ -158,11 +158,11 @@ static func open_image_import_dialog(completion_callback: Callable) -> void:
158158
static func open_xml_import_dialog(completion_callback: Callable) -> void:
159159
_open_import_dialog(PackedStringArray(["xml"]), completion_callback)
160160

161-
162161
# On web, the completion callback can't use the full file path,
163162
static func _open_import_dialog(extensions: PackedStringArray,
164163
completion_callback: Callable, native_dialog_title := "") -> void:
165-
OS.request_permissions()
164+
if not OS.request_permissions():
165+
return
166166
var extensions_with_dots := PackedStringArray()
167167
for extension in extensions:
168168
extensions_with_dots.append("." + extension)

0 commit comments

Comments
 (0)