From 7930a907f1ff2e0461146bb8f0deccd5eb7720dc Mon Sep 17 00:00:00 2001 From: Leonid Nikitin Date: Tue, 10 Jun 2025 22:25:21 +0500 Subject: [PATCH] Removed unused `AppMetadata` configuration and refactored imports in `main.go`. Because the data is duplicated with FyneApp.toml. --- main.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/main.go b/main.go index 4455f47..41749c5 100644 --- a/main.go +++ b/main.go @@ -1,24 +1,15 @@ package main import ( - "fyne.io/fyne/v2" "fyne.io/fyne/v2/app" "git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/application" "git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/application/convertor" "git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/application/setting" "git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/controller" "git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/ffmpeg" - "git.kor-elf.net/kor-elf/gui-for-ffmpeg/internal/resources" ) func main() { - appMetadata := fyne.AppMetadata{ - ID: "net.kor-elf.projects.gui-for-ffmpeg", - Name: "GUI for FFmpeg", - Version: "0.9.0", - Icon: resources.IconAppLogoResource(), - } - app.SetMetadata(appMetadata) fyneApp := app.New() appSetting := setting.NewSetting(fyneApp) ffmpegService := ffmpeg.NewUtilities(appSetting)