Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
mv ./bin/android_debug.apk ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_RELEASE}/android_debug.apk
mv ./bin/android_source.zip ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_RELEASE}/android_source.zip

- if: ${{ steps.cache-template.outputs.cache-hit != 'true' && github.event_name == 'workflow_dispatch' }}
- if: ${{ steps.cache-template.outputs.cache-hit != 'true' }}
name: Build Godot release template for Android
run: |
cd godot
Expand Down
2 changes: 1 addition & 1 deletion app_info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"project_founder_and_manager": ["Anish Mishra"],
"project_founder_and_manager": "Anish Mishra",
"authors": ["Anish Mishra (syntaxerror247)"],
"donors": [],
"anonymous_donors": 0,
Expand Down
7 changes: 4 additions & 3 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ architectures/arm64-v8a=true
architectures/x86=false
architectures/x86_64=false
version/code=1
version/name="1.0-alpha7"
version/name="1.0-alpha1"
package/unique_name="com.godsvg.mobile"
package/name="GodSVG Mobile"
package/signed=true
Expand All @@ -47,10 +47,10 @@ package/show_as_launcher_app=false
launcher_icons/main_192x192="res://godot_only/android_icons/legacy_icon.png"
launcher_icons/adaptive_foreground_432x432="res://godot_only/android_icons/adaptive_foreground.png"
launcher_icons/adaptive_background_432x432="res://godot_only/android_icons/adaptive_background.png"
launcher_icons/adaptive_monochrome_432x432=""
launcher_icons/adaptive_monochrome_432x432="uid://cop6bgxvtv4uq"
graphics/opengl_debug=false
xr_features/xr_mode=0
wear_os/swipe_to_dismiss=true
gesture/swipe_to_dismiss=false
screen/immersive_mode=false
screen/support_small=true
screen/support_normal=true
Expand Down Expand Up @@ -214,3 +214,4 @@ permissions/write_sms=false
permissions/write_social_stream=false
permissions/write_sync_settings=false
permissions/write_user_dictionary=false
wear_os/swipe_to_dismiss=true
Binary file added godot_only/android_icons/monochrome_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions godot_only/android_icons/monochrome_white.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cop6bgxvtv4uq"
path="res://.godot/imported/monochrome_white.png-336fe08161ffbbd756752ed6dada0830.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://godot_only/android_icons/monochrome_white.png"
dest_files=["res://.godot/imported/monochrome_white.png-336fe08161ffbbd756752ed6dada0830.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
2 changes: 1 addition & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ config_version=5
[application]

config/name="GodSVG Mobile"
config/version="1.0-alpha7"
config/version="1.0-alpha1"
config/tags=PackedStringArray("application", "mobile", "project")
run/main_scene="uid://bihwwoedqcyo8"
config/use_custom_user_dir=true
Expand Down
2 changes: 1 addition & 1 deletion src/autoload/Configs.gd
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func reset_settings() -> void:
savedata = SaveData.new()
savedata.reset_to_default()
savedata.language = "en"
savedata.set_shortcut_panel_slots({ 0: "undo", 1: "redo" })
savedata.set_shortcut_panel_slots({ 0: "undo", 1: "redo", 2: "save"})
savedata.set_palettes([Palette.new("Pure", Palette.Preset.PURE)])
save()

Expand Down
4 changes: 2 additions & 2 deletions src/ui_parts/about_menu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func _ready() -> void:
stylebox.content_margin_top += 2.0
add_theme_stylebox_override("panel", stylebox)

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

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

%LicenseLabel.text = "MIT License\n\nCopyright (c) 2023 MewPurPur\n" +\
%LicenseLabel.text = "MIT License\n\nCopyright (c) 2025 Anish Mishra\n" +\
"Copyright (c) 2023-present GodSVG contributors\n\n" + licenses_dict["Expat"]
3:
for child in %GodSVGParts.get_children():
Expand Down
2 changes: 2 additions & 0 deletions src/ui_parts/about_menu.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ theme_override_constants/separation = 8

[node name="ProjectFounderLabel" type="Label" parent="VBoxContainer/TabContainer/Authors/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
theme_override_font_sizes/font_size = 16
horizontal_alignment = 1
vertical_alignment = 1

[node name="DevelopersLabel" type="Label" parent="VBoxContainer/TabContainer/Authors/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
Expand Down
8 changes: 4 additions & 4 deletions src/utils/FileUtils.gd
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ static func save_svg_as() -> void:
_save_svg_as_with_custom_final_callback(Callable())

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

static func open_xml_export_dialog(xml: String, file_name: String) -> void:
OS.request_permissions()
if not OS.request_permissions():
return
if OS.has_feature("web"):
_web_save(xml.to_utf8_buffer(), "application/xml")
else:
Expand Down Expand Up @@ -158,11 +158,11 @@ static func open_image_import_dialog(completion_callback: Callable) -> void:
static func open_xml_import_dialog(completion_callback: Callable) -> void:
_open_import_dialog(PackedStringArray(["xml"]), completion_callback)


# On web, the completion callback can't use the full file path,
static func _open_import_dialog(extensions: PackedStringArray,
completion_callback: Callable, native_dialog_title := "") -> void:
OS.request_permissions()
if not OS.request_permissions():
return
var extensions_with_dots := PackedStringArray()
for extension in extensions:
extensions_with_dots.append("." + extension)
Expand Down