Giter Site home page Giter Site logo

rm-vip's Introduction

很懒可能不会有多余时间更新

第一次尝试 Rust写个小程序

踩坑

Js参数使用驼峰命名调用 (找了1个小时😂😂😂)

Rust
`pub fn projects(app_config_path: &str)`

Js Call
`invoke('projects',{appConfigPath:''})`

Rust vec 不能直接转 JS Uint8Array类型 (天真以为能直接转,结果找了3个小时😂😂😂)

Rust
`
fn read_file(file_path: std::path::PathBuf) -> Rt<Vec<u8>>
`
JS 错误🙅
`
RustCallResult<Uint8Array> = await invoke("read_file");
`
JS 正确🙆
`
RustCallResult<number[]> = await invoke("read_file");
Uint8Array::form(number[])
`

突然不能打包了 (未获得授权将Apple事件发送给Finder) 可能我装的totalfinder有问题

tccutil reset AppleEvents com.binaryage.totalfinder.agent https://totalfinder.binaryage.com/injection-troubles

鸣谢

📚 Tauri Tutorial (系列教程 - 打造属于自己的跨端应用)

免责声明

该软件仅用于个人学习使用

  • 禁止商用或者非法用途.
  • 禁止商用或者非法用途.
  • 禁止商用或者非法用途.

rm-vip's People

Contributors

itxve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rm-vip's Issues

支持作者

is:issue is:open 觉得很好,感谢作者的分享。不太明白程序怎么达到这个效果的,可以分享一下吗?有个不情之请,新版的剪映有视频的vip功能,我使用去vip的时候没有除去,反复重试多次无果。可以请求作者出这个功能吗?看到作者不使用Rust,如果冒犯到了作者请忽视我这个不情之请。😂

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.