You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tauri-plugins-workspace/plugins/single-instance/examples/emit-event
Beanow 9b38d388d9
chore: move single-instance plugin
2 years ago
..
public chore: move single-instance plugin 2 years ago
src-tauri chore: move single-instance plugin 2 years ago
.gitignore chore: move single-instance plugin 2 years ago
README.md chore: move single-instance plugin 2 years ago
package.json chore: move single-instance plugin 2 years ago
pnpm-lock.yaml chore: move single-instance plugin 2 years ago

README.md

Tauri Plugin single-instance

Emit Event Example

To build and test in development mode run the following:

# change to this example directory
npm install
npm run tauri dev

# or if tauri is installed globally

cargo tauri dev

While the above is running, in a separate terminal window execute the debug target app

# on linux
./src-tauri/target/debug/emit-event-app cyan # any css background color should work
./src-tauri/target/debug/emit-event-app "#888" # including hex

# on windows
.\src-tauri\target\debug\emit-event-app.exe cyan