Lucas Fernandes Nogueira c8b167adb3 fix(tauri.js) promisified API fails on Reflect.deleteProperty, fix #1038 (#1056) 4 年之前
..
dist c8b167adb3 fix(tauri.js) promisified API fails on Reflect.deleteProperty, fix #1038 (#1056) 4 年之前
src-tauri a6bb3b5905 refactor(tauri) rename `whitelist` to `allowlist`, ref #645 (#858) 5 年之前
README.md 0f52af6c8f chore(example) add README, closes #635 (#689) 5 年之前
package.json 6424b00ca7 feat: build tauri communication app on demand (#1001) 5 年之前
screenshot.png 0f52af6c8f chore(example) add README, closes #635 (#689) 5 年之前
yarn.lock 031d5fdafe chore(deps): bump lodash from 4.17.15 to 4.17.19 in /tauri/examples/communication (#838) 5 年之前

README.md

Communication example

This example demonstrates Tauri's API capabilities. It's used as the main validation app, serving as the testbed of our development process. In the future, this app will be used on Tauri's integration tests.

App screenshot

Running the example

  • Install dependencies

    # with yarn
    $ yarn
    # with npm
    $ npm install
    
  • Compile the app

    # with yarn
    $ yarn build
    # with npm
    $ npm run build
    # alternatively, if you setup the environment variables, you can build it without Node.js:
    $ cd ../../..
    $ . .scripts/init_env.sh
    $ cd ./tauri/examples/communication
    $ cargo build --features no-server
    
  • Run the app

    $ ./src-tauri/target/release/app