Skip to content

Commit d50b620

Browse files
committed
Private
1 parent b2d4cdb commit d50b620

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/unix_single_instance_base.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'dart:typed_data';
66
import 'package:path_provider/path_provider.dart';
77
import 'package:path/path.dart' as p;
88

9-
Future<String> applicationConfigDirectory() async {
9+
Future<String> _applicationConfigDirectory() async {
1010
final String dbPath;
1111
if (Platform.isAndroid) {
1212
dbPath = (await getApplicationDocumentsDirectory()).path;
@@ -28,7 +28,7 @@ Future<bool> unixSingleInstance(List<String> arguments,
2828
// Kept short because of mac os x sandboxing makes the name too long for unix sockets.
2929
var socketFilename = 'socket';
3030
// TODO make configurable so it can be per X, per User, or for the whole machine based on optional named args
31-
var configPath = await applicationConfigDirectory();
31+
var configPath = await _applicationConfigDirectory();
3232
await Directory(configPath).create(recursive: true);
3333
var socketFilepath = p.join(configPath, socketFilename);
3434
final InternetAddress host = InternetAddress(socketFilepath, type: InternetAddressType.unix);

0 commit comments

Comments
 (0)