Skip to content

Conversation

@rainyl
Copy link
Contributor

@rainyl rainyl commented May 11, 2023

As mentioned in #2132 , I have added the two APIs to help plugins hide MainWindow

@github-actions
Copy link

@check-spelling-bot Report

🔴 Please review

See the 📂 files view or the 📜action log for details.

Unrecognized words (7)

cretain
eror
refeshes
Reloadable
requerying
Restar
spefic

To accept ✔️ these unrecognized words as correct and remove the previously acknowledged and now absent words, run the following commands

... in a clone of the [email protected]:rainyl/Flow.Launcher.git repository
on the dev branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/Flow-Launcher/Flow.Launcher/actions/runs/4949359520/attempts/1'
If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

@Garulf Garulf added the enhancement New feature or request label May 11, 2023
@Garulf Garulf self-assigned this May 11, 2023
@Garulf Garulf merged commit cd06f13 into Flow-Launcher:dev May 11, 2023
@Garulf
Copy link
Member

Garulf commented May 11, 2023

Looks good!

Funny because Wox has this in its API:

[Obsolete]
public void HideApp()
{
    _mainVM.MainWindowVisibility = Visibility.Hidden;
}

But I guess it got removed.

@VictoriousRaptor VictoriousRaptor added this to the 1.15.1 milestone May 12, 2023
@jjw24 jjw24 modified the milestones: 1.15.1, 1.16.0 Jun 22, 2023
@jjw24 jjw24 assigned rainyl and unassigned Garulf Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[API to Hide MainWindow] Add new plugin api to hide mainwindow or clear focus

4 participants