5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 11:11:50 +08:00
wails/v2/internal/frontend/desktop/windows
Andrey Pshenkin c24bd5e3e8
Implement Single instance lock feature with passing arguments to initial instance (#2951)
* implement MacOS openFile/openFiles events

* wip: windows file association

* fix macro import

* add file icon copy

* try copy icon

* keep only required part of scripts

* update config schema

* fix json

* set fileAssociation for mac via config

* proper iconName handling

* add fileAssociation icon generator

* fix file association icons bundle

* don't break compatibility

* remove mimeType as not supported linux for now

* add documentation

* adjust config schema

* restore formatting

* try implement single instance lock with params passing

* fix focusing

* fix focusing

* formatting

* use channel buffer for second instance events

* handle errors

* add comment

* remove unused option in file association

* wip: linux single instance lock

* wip: linux single instance

* some experiments with making window active

* try to use unminimise

* remove unused

* try present for window

* try present for window

* fix build

* cleanup

* cleanup

* implement single instance lock on mac os

* implement proper show for windows

* proper unmimimise

* get rid of openFiles mac os. change configuration structure

* remove unused channel

* remove unused function

* add documentation for single instance lock

* add PR link

* changes after review

* update docs

* changes after review

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2023-10-23 21:31:56 +11:00
..
win32 [windows] Disable frameless decorations during fullscreen (#2288) 2023-01-11 15:22:48 +01:00
winc Implement Single instance lock feature with passing arguments to initial instance (#2951) 2023-10-23 21:31:56 +11:00
browser.go [windows] add build tags to browser runtime 2021-10-17 21:50:15 +11:00
clipboard.go Add common text clipboard support (#2228) 2023-01-05 16:41:07 +11:00
dialog_test.go fix: fix go test errors (#2169) 2022-12-06 06:45:06 +11:00
dialog.go [v2, windows] Make sure to open the CommonFileDialogs on the main thread (#2606) 2023-04-17 20:50:27 +10:00
frontend.go Implement Single instance lock feature with passing arguments to initial instance (#2951) 2023-10-23 21:31:56 +11:00
keys.go Fix up dev. Pull in go-webview and winc 2022-03-29 21:45:16 +11:00
menu.go Fix up dev. Pull in go-webview and winc 2022-03-29 21:45:16 +11:00
screen.go [v2] Introduce size and physical size of screens (#2856) 2023-08-26 10:11:01 +10:00
single_instance.go Implement Single instance lock feature with passing arguments to initial instance (#2951) 2023-10-23 21:31:56 +11:00
theme.go fix: fix go test errors (#2169) 2022-12-06 06:45:06 +11:00
window.go [chore] Use webview2 package (#2687) 2023-06-10 17:04:31 +10:00