eframe_template icon indicating copy to clipboard operation
eframe_template copied to clipboard

PWA cache auto updater

Open JustFrederik opened this issue 2 years ago • 5 comments

Assets will auto added to the service worker & to the dist folder. Every time it is compiled it will generate a version file that contains the version. The sw.js will clear the cache when the version updates I removed the toolchain because I got an error that dependencies need at least rustc 1.67.

JustFrederik avatar Aug 27 '23 15:08 JustFrederik

I removed the toolchain because I got an error that dependencies need at least rustc 1.67.

Let's update instead: https://github.com/emilk/eframe_template/pull/106

emilk avatar Sep 04 '23 07:09 emilk

I didn’t know that rfd has problems with 1.72. I tried it with the stable toolchain and it worked for me so I just removed it. Il merge the updates once you added the tool chain version.

@emilk i can't resolve the conflict with cargo.toml since I needed to add build dependencies

JustFrederik avatar Sep 04 '23 07:09 JustFrederik

@emilk i can't resolve the conflict with cargo.toml since I needed to add build dependencies

I don't follow. Why can't you resolve conflicts? I sure can't do it - since you opened your PR from your master branch I cannot edit it.

emilk avatar Sep 04 '23 08:09 emilk

Was a dumb mistake. My branch had problems with the latest commit. GitHub was still cached or didn't reload properly or whatever. It showed that the pull request wasn't accepted and my repo was not behind. That's why I thought it was a check.

JustFrederik avatar Sep 04 '23 08:09 JustFrederik

@emilk i resolved the issue with the version

JustFrederik avatar Sep 04 '23 08:09 JustFrederik