Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Batorian committed May 10, 2024
2 parents 080ba4a + f421bc6 commit eae59dd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: LNReader-r${{ env.COMMIT_COUNT }}
name: LNReaderTesting-r${{ env.COMMIT_COUNT }}
path: android/app/build/outputs/apk/release/app-release.apk
4 changes: 2 additions & 2 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<resources>
<string name="app_name">LNReader</string>
</resources>
<string name="app_name">LNReaderTesting</string>
</resources>
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = 'LNReader'
rootProject.name = 'LNReaderTesting'

apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "lnreader",
"name": "lnreadertesting",
"version": "2.0.0",
"private": true,
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ function CreateBackup({

const prepare = async () => {
setFetching(true);
let rootFolder = await exists('LNReader', true, undefined, true);
let rootFolder = await exists('LNReaderTesting', true, undefined, true);
if (!rootFolder) {
rootFolder = await makeDir('LNReader');
rootFolder = await makeDir('LNReaderTesting');
}
const backupFolderName = backupName.trim() + '.backup';
let backupFolder = await exists(backupFolderName, true, rootFolder.id);
Expand Down Expand Up @@ -157,7 +157,7 @@ function RestoreBackup({
}) {
const [backupList, setBackupList] = useState<DriveFile[]>([]);
useEffect(() => {
exists('LNReader', true, undefined, true).then(rootFolder => {
exists('LNReaderTesting', true, undefined, true).then(rootFolder => {
if (rootFolder) {
getBackups(rootFolder.id, true).then(backups => setBackupList(backups));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function SetHost({
fetchTimeout(host, {}, 2000)
.then(res => res.json())
.then(data => {
if (data.name === 'LNReader') {
if (data.name === 'LNReaderTesting') {
setBackupModal(BackupModal.CONNECTED);
} else {
throw new Error(getString('backupScreen.remote.unknownHost'));
Expand Down

0 comments on commit eae59dd

Please sign in to comment.