change dl command

This commit is contained in:
wh1te909
2022-09-24 02:10:03 +00:00
parent 3a45c2a309
commit 9264cf4044

View File

@@ -10,10 +10,13 @@
</q-card-actions>
</q-card-section>
<q-card-section>
<p class="text-subtitle1">
<p v-if="info.plat === 'windows'" class="text-subtitle1">
Download the agent then run the following command from an elevated
command prompt on the device you want to add.
</p>
<p v-else-if="info.plat === 'darwin'" class="text-subtitle1">
Run the following command from a terminal
</p>
<p>
<q-field outlined :color="$q.dark.isActive ? 'white' : 'black'">
<code>{{ info.data.cmd }}</code>
@@ -86,12 +89,12 @@
<p class="text-italic">
Note: the auth token above will be valid for {{ info.expires }} hours.
</p>
<q-btn
<q-btn v-if="info.plat === 'windows'"
type="a"
:href="info.data.url"
color="primary"
label="Download Agent"
/>
></q-btn>
</q-card-section>
</q-card>
</template>