Skip to content

Commit 7b52a6b

Browse files
committed
fix: formatting & electron-builder config
1 parent 931df48 commit 7b52a6b

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

electron-builder.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ artifactName: "${name}-${version}-${os}-${arch}.${ext}"
44
directories:
55
output: release-builds
66

7+
# OS specific settings
78
mac:
89
icon: "icon/icon.ico"
910
target:
@@ -16,7 +17,6 @@ win:
1617
icon: "icon/icon.png"
1718
target:
1819
- target: msi
19-
oneClick: false
2020
arch: [x64]
2121
- target: zip
2222
arch: [x64]
@@ -30,3 +30,7 @@ linux:
3030
arch: [x64, arm64]
3131
- target: zip
3232
arch: [x64, arm64]
33+
34+
# Target specific settings
35+
msi:
36+
oneClick: false

src/app.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,12 @@ export const setSidebarStatus = (status) => {
9292
export const searchStreams = () => {
9393
let filteredStream = streams.value.filter((stream) => {
9494
return (
95-
((stream.name
96-
.toLowerCase()
97-
.includes(search.value.streams.toLowerCase()) ||
95+
(stream.name.toLowerCase().includes(search.value.streams.toLowerCase()) ||
9896
stream.origin.address
9997
.toLowerCase()
10098
.includes(search.value.streams.toLowerCase()) ||
10199
stream.id.includes(search.value.streams)) &&
102-
(stream.isSupported || !persistentData.value.settings.hideUnsupported)
103-
)
104-
100+
(stream.isSupported || !persistentData.value.settings.hideUnsupported)
105101
);
106102
});
107103

src/components/pages/StreamsPage.vue

+5-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@
8989
</option>
9090
</template>
9191
</select>
92-
<small v-else class="d-inline-flex px-2 py-1 fw-semibold text-danger-emphasis bg-danger-subtle border border-danger-subtle rounded-2">{{ stream.unsupportedReason }}</small>
92+
<small
93+
v-else
94+
class="d-inline-flex px-2 py-1 fw-semibold text-danger-emphasis bg-danger-subtle border border-danger-subtle rounded-2"
95+
>{{ stream.unsupportedReason }}</small
96+
>
9397
</td>
9498
<td>
9599
<button

0 commit comments

Comments
 (0)