disable SW for now, fix lyrics, comment release for win
This commit is contained in:
parent
9542e3ce6b
commit
08874c70ea
4 changed files with 29 additions and 20 deletions
24
.github/workflows/build-analyze-win.yml
vendored
24
.github/workflows/build-analyze-win.yml
vendored
|
@ -80,16 +80,16 @@ jobs:
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
path: dist/
|
path: dist/
|
||||||
# The desired behavior if no files are found using the provided path.
|
# The desired behavior if no files are found using the provided path.
|
||||||
- name: Generate release tag
|
# - name: Generate release tag
|
||||||
id: tag
|
# id: tag
|
||||||
run: |
|
# run: |
|
||||||
echo "::set-output name=release_tag::CiderNightly_$(date +"%Y.%m.%d_%H-%M")"
|
# echo "::set-output name=release_tag::CiderNightly_$(date +"%Y.%m.%d_%H-%M")"
|
||||||
- name: Release
|
# - name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
# uses: softprops/action-gh-release@v1
|
||||||
with:
|
# with:
|
||||||
prerelease: true
|
# prerelease: true
|
||||||
tag_name: ${{ steps.tag.outputs.release_tag }}
|
# tag_name: ${{ steps.tag.outputs.release_tag }}
|
||||||
files: dist/Cider Setup 1.0.0.exe
|
# files: dist/Cider Setup 1.0.0.exe
|
||||||
env:
|
# env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
|
@ -1842,12 +1842,12 @@ document.addEventListener('musickitloaded', function () {
|
||||||
request.send();
|
request.send();
|
||||||
});
|
});
|
||||||
|
|
||||||
if ('serviceWorker' in navigator) {
|
// if ('serviceWorker' in navigator) {
|
||||||
// Use the window load event to keep the page load performant
|
// // Use the window load event to keep the page load performant
|
||||||
window.addEventListener('load', () => {
|
// window.addEventListener('load', () => {
|
||||||
navigator.serviceWorker.register('sw.js?v=1');
|
// navigator.serviceWorker.register('sw.js?v=1');
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
function uuidv4() {
|
function uuidv4() {
|
||||||
return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c =>
|
return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c =>
|
||||||
|
|
|
@ -1351,6 +1351,14 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.lyric-body .no-lyrics {
|
||||||
|
width: 100%;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
.lyric-line {
|
.lyric-line {
|
||||||
--bgSpeed: 1s;
|
--bgSpeed: 1s;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script type="text/x-template" id="lyrics-view">
|
<script type="text/x-template" id="lyrics-view">
|
||||||
<div ref="lyricsview" class="md-body lyric-body">
|
<div ref="lyricsview" class="md-body lyric-body">
|
||||||
<template v-if="lyrics && lyrics != []">
|
<template v-if="lyrics && lyrics != [] && lyrics.length > 0">
|
||||||
<template v-for="(lyric, index) in lyrics" v-if="lyric.line != 'lrcInstrumental'">
|
<template v-for="(lyric, index) in lyrics" v-if="lyric.line != 'lrcInstrumental'">
|
||||||
<h3 class="lyric-line" @click="if(lyric.startTime != 9999999) app.seekTo(lyric.startTime, false)"
|
<h3 class="lyric-line" @click="if(lyric.startTime != 9999999) app.seekTo(lyric.startTime, false)"
|
||||||
v-bind:line-index="index.toString()">
|
v-bind:line-index="index.toString()">
|
||||||
|
@ -34,7 +34,8 @@
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
No Lyrics Available
|
<div class="no-lyrics">
|
||||||
|
Loading... / Lyrics not found./ Instrumental.
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue