Compare commits

...

5 Commits

6 changed files with 20 additions and 13 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -52,8 +52,10 @@ const DownloadAppBanner = () => {
</a>{' '}
to download the app for the best experience.
</p>
{!navigator?.userAgent.includes('Chrome') && <p className="mt-6">
If you want to stay here on the web-app, we currently only support Chrome. Please use{' '}
{!navigator?.userAgent.includes('Chrome') && (
<p className="mt-6">
If you want to stay here on the web-app, we currently only support
Chrome. Please use{' '}
<a
href="https://www.google.com/chrome/"
rel="noopener noreferrer"
@ -61,8 +63,10 @@ const DownloadAppBanner = () => {
className="!text-warn-80 dark:!text-warn-80 dark:hover:!text-warn-70 underline"
>
this link
</a> to download it.
</p>}
</a>{' '}
to download it.
</p>
)}
</div>
</Dialog.Panel>
</Dialog>

View File

@ -38,7 +38,10 @@ export async function renameProjectDirectory(
// Make sure the new name does not exist.
const newPath = window.electron.path.join(
projectPath.split('/').slice(0, -1).join('/'),
projectPath
.split(window.electron.sep)
.slice(0, -1)
.join(window.electron.sep),
newName
)
try {
@ -179,7 +182,7 @@ const collectAllFilesRecursiveFrom = async (path: string) => {
return Promise.reject(new Error(`Path ${path} is not a directory`))
}
const pathParts = path.split('/')
const pathParts = path.split(window.electron.sep)
let entry: FileEntry = {
name: pathParts.slice(-1)[0],
path,